3 ms·
Or it just means you have tests which could be better optimized for speed but in fact are optimized for something else. We had a series of tests (more towards
by einhverfr 13y ago
Or it just means you have tests which could be better optimized for speed but in fact are optimized for something else.
We had a series of tests (more towards integration tests I guess) at one point in LedgerSMB that did things like check database permissions for some semblance of sanity. These took about 10 min to run on a decent system. The reason was we stuck with functionality we could guarantee wouldn't change (information schema) which did not perform well in this case. Eventually we got tired of this and rewrote the tests against the system tables cutting it down to something quite manageable.
We had this test mixed in with db logic unit tests because it provided more information we could use to track other failures of tests (i.e. "the database is sanely set up" is a prerequisite for db unit tests).