|
|
|
|
|
by hardware2win
969 days ago
|
|
First: drop e2e, unit, etc distinction It is irrelevant and driven by some testing evangelists Tests are either quick or slow and may touch external stuff, thats mostly it. Whats wrong with mocks? If they lead to scenarios where your tests are green, but app doesnt work then it sucks. Ive witnessed projects with all green tests but app wasnt even waking. |
|
I'd rather spend time trying to learn the business, and where it's going, and why my product is useful, than mocking out some dumb part I can test a few times manually. Unit tests are super valuable tool, but not everything needs a unit test.