DEV Community

Daniel Irvine ๐Ÿณ๏ธโ€๐ŸŒˆ profile picture

Daniel Irvine ๐Ÿณ๏ธโ€๐ŸŒˆ

Iโ€™m the author of Mastering React Test-Driven Development, available now from Packt. I run the Queer Code London meetup.

Location London, UK Joined Joined onย  Personal website https://danielirvine.com github website twitter website

Work

Software consultant at Concisely Crafted

Writing Debut
Seven Year Club
Six Year Club
Five Year Club
Four Year Club
8 Week Writing Streak
Three Year Club
4 Week Writing Streak
Top 7
Two Year Club
One Year Club
Staying out of trouble

Staying out of trouble

5
Comments
3 min read

Want to connect with Daniel Irvine ๐Ÿณ๏ธโ€๐ŸŒˆ?

Create an account to connect with Daniel Irvine ๐Ÿณ๏ธโ€๐ŸŒˆ. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
Testing multiple instances of the same mocked component

Testing multiple instances of the same mocked component

5
Comments
3 min read
Verifying children passed to React mock components

Verifying children passed to React mock components

13
Comments
3 min read
The basic form for React component mocks

The basic form for React component mocks

16
Comments 3
6 min read
Mocks arenโ€™t evil! Better mocking with React Testing Library

Mocks arenโ€™t evil! Better mocking with React Testing Library

31
Comments
4 min read
Online me vs offline me

Online me vs offline me

10
Comments
1 min read
When does TDD make sense?

When does TDD make sense?

80
Comments 12
4 min read
React developers: TDD is not dogma

React developers: TDD is not dogma

36
Comments 9
3 min read
Hereโ€™s how to test arrays

Hereโ€™s how to test arrays

11
Comments
3 min read
Yet another reason to prefer unit tests ๐Ÿ˜‡

Yet another reason to prefer unit tests ๐Ÿ˜‡

82
Comments 8
2 min read
Hereโ€™s how to test dependencies with mocks

Hereโ€™s how to test dependencies with mocks

8
Comments 2
4 min read
Testing Svelte async state changes

Testing Svelte async state changes

21
Comments
3 min read
Are you any good at TDD?

Are you any good at TDD?

18
Comments 10
2 min read
Achieving 100% code coverage will make you a better developer. Seriously.

Achieving 100% code coverage will make you a better developer. Seriously.

63
Comments 25
3 min read
Do you aim for 80% code coverage? Let me guess which 80% you choose...

Do you aim for 80% code coverage? Let me guess which 80% you choose...

79
Comments 29
3 min read
Whatever happened to the test pyramid?

Whatever happened to the test pyramid?

15
Comments 11
3 min read
Do devs really need to test?

Do devs really need to test?

40
Comments 16
4 min read
How to convince devs to do more testing

How to convince devs to do more testing

48
Comments 16
3 min read
Beyond TDD: breaking the rules

Beyond TDD: breaking the rules

64
Comments 1
4 min read
Get your words right!

Get your words right!

5
Comments
3 min read
Become a mature developer, not a senior developer

Become a mature developer, not a senior developer

230
Comments 12
2 min read
Clean code, dirty code, human code

Clean code, dirty code, human code

253
Comments 50
4 min read
Tips for writing great Svelte tests

Tips for writing great Svelte tests

15
Comments 12
5 min read
Testing Svelte context with component hierarchies

Testing Svelte context with component hierarchies

15
Comments 1
4 min read
Mocking Svelte components

Mocking Svelte components

13
Comments 1
8 min read
Testing Svelte stores and mocking dependencies

Testing Svelte stores and mocking dependencies

26
Comments 14
6 min read
Testing the onMount callback

Testing the onMount callback

12
Comments
3 min read
Mounting components and asserting on the DOM

Mounting components and asserting on the DOM

14
Comments 1
6 min read
Setting up a Svelte test environment

Setting up a Svelte test environment

38
Comments 10
9 min read
Writing unit tests for Svelte (Introduction)

Writing unit tests for Svelte (Introduction)

82
Comments
3 min read
A generalist is born when a specialist becomes bored

A generalist is born when a specialist becomes bored

195
Comments 25
6 min read
Revisiting your code: a simple technique for writing better software

Revisiting your code: a simple technique for writing better software

38
Comments 4
6 min read
4 tips for mentoring developers

4 tips for mentoring developers

26
Comments 5
3 min read
How to mentor developers

How to mentor developers

54
Comments 5
5 min read
loading...