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

Work

Software consultant at Concisely Crafted

Staying out of trouble

Reactions 4
3 min read

Testing multiple instances of the same mocked component

Reactions 2
3 min read

Verifying children passed to React mock components

Reactions 7
3 min read

The basic form for React component mocks

Reactions 6
6 min read

Mocks aren’t evil! Better mocking with React Testing Library

Reactions 10
4 min read

Online me vs offline me

Reactions 10
1 min read

When does TDD make sense?

Reactions 77 Comments 12
4 min read

React developers: TDD is not dogma

Reactions 32 Comments 9
3 min read

Here’s how to test arrays

Reactions 9
3 min read

Yet another reason to prefer unit tests πŸ˜‡

Reactions 83 Comments 8
2 min read

Here’s how to test dependencies with mocks

Reactions 8 Comments 2
4 min read

Testing Svelte async state changes

Reactions 20
3 min read

Are you any good at TDD?

Reactions 18 Comments 10
2 min read

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

Reactions 62 Comments 25
3 min read

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

Reactions 78 Comments 29
3 min read

Whatever happened to the test pyramid?

Reactions 13 Comments 10
3 min read

Do devs really need to test?

Reactions 39 Comments 16
4 min read

How to convince devs to do more testing

Reactions 47 Comments 16
3 min read

Beyond TDD: breaking the rules

Reactions 64 Comments 1
4 min read

Get your words right!

Reactions 5
3 min read

Become a mature developer, not a senior developer

Reactions 228 Comments 11
2 min read

Clean code, dirty code, human code

Reactions 462 Comments 48
4 min read

Tips for writing great Svelte tests

Reactions 10 Comments 12
5 min read

Testing Svelte context with component hierarchies

Reactions 12 Comments 1
4 min read

Mocking Svelte components

Reactions 8
8 min read

Testing Svelte stores and mocking dependencies

Reactions 15 Comments 14
6 min read

Testing the onMount callback

Reactions 11
3 min read

Mounting components and asserting on the DOM

Reactions 12
6 min read

Setting up a Svelte test environment

Reactions 22 Comments 3
9 min read

Writing unit tests for Svelte (Introduction)

Reactions 60
3 min read

A generalist is born when a specialist becomes bored

Reactions 192 Comments 24
6 min read

Revisiting your code: a simple technique for writing better software

Reactions 38 Comments 4
6 min read

4 tips for mentoring developers

Reactions 26 Comments 5
3 min read

How to mentor developers

Reactions 48 Comments 5
5 min read
loading...