Emysql
Emysql copied to clipboard
Clean up tests
If we move all tests into one suite with adequate groups, we don't have to start/stop emysql pools all the time and we can speed up the test case. Also, it would enable us to have correct handling of coverage which would be very nice to have.
+1 on coverage. Not sure about relevance of test run time?
Currently, the tests run pretty fast, but one of the things we can do is to mark the suite as parallel and run it 2-3 times. This will probably be efficient at uncovering bugs pertaining to concurrent access in the code base. I can't do that as long as the suites are running each on their own.
I have pushed some patches which addresses this partially. The code is covered somewhere between 40-80% depending on module. There are still more work to do, but it is a start.