Sunday, 12 May 2013

6.0.3 - Tests

I have started working on the 6.0.3 tests: commit hash 648b701599. Out of the box 324 / 1061 tests were passing. All of the database tests are (of course being written with SQLCE) failing. The test code itself looks to be in a transitional stage from the sqlHelper based set-up towards using petaPoco.

With a bit of coaxing, I have increased passing tests to 390. The increase comes mainly from non-database based tests. Some of the database based tests are passing in the 'legacy' setting - using the MySqlTestHelper.

I have been going through these tests very quickly as there are quite a lot of them... The testing strategy I am using has required big changes to the underlying source code - i.e. the replacement of all calls to configuration manager - of which there are quite a lot now. I would recommend having a mockable wrapper class for these calls - at some point.

I ll be continuing and looking at the database based tests next.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.