Album Cover

Microtesting Java

Close Preview
JUnit
JUnit is the most popular tool
on the planet for testing Java code.
In the mid-90s Kent Beck and Erich Gamma produced JUnit to make it easy to write and run tests. Since then, similar frameworks have sprung up for almost all languages.
JUnit 4.x has been around for a few years, and we'll use that. (JUnit 5.x has been released, however, and may be more suitable for your project.)
In the pages ahead, you’ll learn enough about JUnit’s fundamentals to write and execute hundreds of tests.
(Reading...)
| Tweet...
Page rating: | Rate this Page