My Testing and Code Analysis Toolbox | Javalobby
- a group for exchanging knowledge about testing.
Jens Schauder's Personal Toolbox
- JUnit
- don’t take the term ‘unit’ to seriously
- use JUnit to execute all other kinds of tests as well
- Mockito
- has nice DSLish API
- nice to use
- Only drawback is that in some special cases the standard API doesn’t work and one has to use an alternative syntax.
- PowerMock
- You need PowerMock if you want to mock constructors, static or final methods.
- If you need this, PowerMock gets the job done, but its better not to need it.
- Jenkins
- free
- Not exactly a work of beauty, but it works,
- is easy to setup and does everything
- plugins.
- CheckStyle
- JDepend
- static code analysis of
- the dependencies of your code.
- To write tests against
- cycles between packages in the code and
- to limit the dependencies to a certain range.
- Some limitations in JDepend resulting in dependencies that JDepend misses
- Cobertura/EclEmma
- Emma in the form of EclEmma as an eclipse plugin and
- Cobertura in Jenkins
- couldn’t get Emma to work on Jenkins instances.
- Sonar
- Tons of metrics from your code and
- makes them available as a website.
- numbers.
No comments:
Post a Comment