@CarolSaysThings
I'm not an expert
Ask questions
@CarolSaysThings
@CarolSaysThings
It's a safety net
Breezy refactoring
@CarolSaysThings
@CarolSaysThings
Your best bet is to remember two things from Cohnโs original test pyramid:
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
Your mileage may vary.
@CarolSaysThings
It lets you stop arguing about style while having consistent code, in a nutshell.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
It lets you enforce coding quality principles throughout your codebase, to help you avoig bugs.
@CarolSaysThings
Most widely adopted linter out there.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
Also, config is hard, so use someone else's if you can and adjust as needed ๐
@CarolSaysThings
@CarolSaysThings
Getting the smallest unit of code, and testing it in isolation.
@CarolSaysThings
Modern tool, does a lot out of the box - assertion library, coverage, mocking, snapshots.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
I'm not a big fan of snapshot testing, it makes people stop paying attention.
@CarolSaysThings
Yes, friends. Get ready for some indoctrination.
@CarolSaysThings
It's a practice where you write a test first, and only enough code to satisfy that test.
@CarolSaysThings
@CarolSaysThings
Better architecture
You only think once
@CarolSaysThings
It's hard to get started
@CarolSaysThings
100% test coverage is not a good thing.
@CarolSaysThings
๐โ
You want to make sure you're not testing someone else's code.
@CarolSaysThings
Testing your service as a whole.
@CarolSaysThings
Low effort end to end testing framework.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
In web applications, component testing can be reused for integration testing.
@CarolSaysThings
@CarolSaysThings
Tests that your application looks the way you expect it to.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
Cypress-axe is a plugin that checks your app for common accessibility faults.
@CarolSaysThings
Stryker mutator allows you to improve your tests by changing your code.
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings
@CarolSaysThings