DEV Community

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

Staying out of trouble

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

Testing multiple instances of the same mocked component

Reactions 2
3 min read
Verifying children passed to React mock components

Verifying children passed to React mock components

Reactions 7
3 min read
The basic form for React component mocks

The basic form for React component mocks

Reactions 6 Comments 1
6 min read
Mocks aren’t evil! Better mocking with React Testing Library

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

Reactions 15
4 min read
Online me vs offline me

Online me vs offline me

Reactions 10
1 min read
When does TDD make sense?

When does TDD make sense?

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

React developers: TDD is not dogma

Reactions 32 Comments 9
3 min read
Here’s how to test arrays

Here’s how to test arrays

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

Yet another reason to prefer unit tests πŸ˜‡

Reactions 83 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
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 62 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 78 Comments 29
3 min read
Whatever happened to the test pyramid?

Whatever happened to the test pyramid?

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

Do devs really need to test?

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

How to convince devs to do more testing

Reactions 47 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
3 min read
Become a mature developer, not a senior developer

Become a mature developer, not a senior developer

Reactions 227 Comments 11
2 min read
Clean code, dirty code, human code

Clean code, dirty code, human code

Reactions 463 Comments 48
4 min read
Tips for writing great Svelte tests

Tips for writing great Svelte tests

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

Testing Svelte context with component hierarchies

Reactions 12 Comments 1
4 min read
Mocking Svelte components

Mocking Svelte components

Reactions 8
8 min read
Testing Svelte stores and mocking dependencies

Testing Svelte stores and mocking dependencies

Reactions 16 Comments 14
6 min read
Testing the onMount callback

Testing the onMount callback

Reactions 11
3 min read
Mounting components and asserting on the DOM

Mounting components and asserting on the DOM

Reactions 12
6 min read
Setting up a Svelte test environment

Setting up a Svelte test environment

Reactions 23 Comments 7
9 min read
Writing unit tests for Svelte (Introduction)

Writing unit tests for Svelte (Introduction)

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

A generalist is born when a specialist becomes bored

Reactions 193 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 48 Comments 5
5 min read
loading...