3 ms·
Again, I think it comes down to tooling. Our app is basically a document management system with quite complex business rules. I can write a test that takes a do
by Yodel0914 3y ago
Again, I think it comes down to tooling. Our app is basically a document management system with quite complex business rules. I can write a test that takes a document from inception to completion in about 15 LoC because we've put time into our test framework to provide sensible abstractions over our API.
Setup and teardown can be an issue, but we've found a good balance. We spin up a clean DB for each test in less than a second. Running out full suite does take a couple of hours, but that's what CI servers are for.