|
|
|
|
|
by bobwall
2095 days ago
|
|
I agree that unit tests become the end all be all for many developers. For web development, I have gotten into a good pattern, where we have some reasonable unit tests. Then on the api, we have Postman tests that run on CI using the Neuman npm. Then for e2e tests, we use GhostInspector, which can also run in your ci pipeline. We do two sets of tests in Ghost, a set that are pretty happy path, and then some really complex ones that run between different sites etc. The first set run during CI, and if they break, then the build is broken. The others, we don't cause the build to break, as they are a bit more brittle. |
|