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

Staying out of trouble

Staying out of trouble

Reactions 5 Comments
3 min read
Testing multiple instances of the same mocked component

Testing multiple instances of the same mocked component

Reactions 4 Comments
3 min read
Verifying children passed to React mock components

Verifying children passed to React mock components

Reactions 10 Comments
3 min read
The basic form for React component mocks

The basic form for React component mocks

Reactions 13 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

Reactions 27 Comments
4 min read
Online me vs offline me

Online me vs offline me

Reactions 10 Comments
1 min read
When does TDD make sense?

When does TDD make sense?

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

React developers: TDD is not dogma

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

Hereโ€™s how to test arrays

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

Yet another reason to prefer unit tests ๐Ÿ˜‡

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

Hereโ€™s how to test dependencies with mocks

Reactions 8 Comments 2
4 min read
Testing Svelte async state changes

Testing Svelte async state changes

Reactions 20 Comments
3 min read
Are you any good at TDD?

Are you any good at TDD?

Reactions 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.

Reactions 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...

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

Whatever happened to the test pyramid?

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

Do devs really need to test?

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

How to convince devs to do more testing

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

Beyond TDD: breaking the rules

Reactions 64 Comments 1
4 min read
Get your words right!

Get your words right!

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

Become a mature developer, not a senior developer

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

Clean code, dirty code, human code

Reactions 474 Comments 49
4 min read
Tips for writing great Svelte tests

Tips for writing great Svelte tests

Reactions 14 Comments 12
5 min read
Testing Svelte context with component hierarchies

Testing Svelte context with component hierarchies

Reactions 15 Comments 1
4 min read
Mocking Svelte components

Mocking Svelte components

Reactions 11 Comments
8 min read
Testing Svelte stores and mocking dependencies

Testing Svelte stores and mocking dependencies

Reactions 23 Comments 14
6 min read
Testing the onMount callback

Testing the onMount callback

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

Mounting components and asserting on the DOM

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

Setting up a Svelte test environment

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

Writing unit tests for Svelte (Introduction)

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

A generalist is born when a specialist becomes bored

Reactions 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

Reactions 38 Comments 4
6 min read
4 tips for mentoring developers

4 tips for mentoring developers

Reactions 26 Comments 5
3 min read
How to mentor developers

How to mentor developers

Reactions 52 Comments 5
5 min read
loading...