From: Stefan F. <ste...@we...> - 2011-08-08 17:53:27
|
I have updated the JUnit library to the latest stable release (Junit 4.8.2). Being backwards compatible the automated game tests based on JUnit 3 still work out of the box. However I will still update those in midterm. I was wondering where to save unit tests with our setup. Usually I prefer the setup with a folder tree for the sources (src/) and a parallel structure for the tests (junit/ or test/). Is it ok with you (Erik & Brett) to create an additional layer with src/ and junit/? EclEmma coverage tool reported an overall code coverage of 40.2% after running all automated game tests (which is not too bad given that UI and algorithm packages are not tested by construction, the rails/game package itself has 73.8% coverage). My preferred mock library is JMock, any comments/preferences for this? The first unit tests are part of my rewrite/refactor of the state/move packages. Stefan |