Source code for the Test Driven Development class.
-
tdd-helloworld: What is this TDD about ?
-
tdd-fill-the-code-starting-from-test: just the tests, write the ocde to make them pass.
-
tdd-darts: A first example about developing a library without dependencies using Unit Tests.
-
tdd-mocks: An example about using mocks with the usual DAO pattern and DbUnit.
-
tdd-refactoring: An ugly piece of code fully covered, just wait to be refactored.
-
tdd-refactoring-done: The tdd-refactoring refactored.
- coverage: Shows how 100% coverage does not mean software is correct.
-
showcase-hamcrest: Things you can do with Hamcrest matchers in JUnit.
-
showcase-junit: Things you can do with JUnit.
-
showcase-mockito: Things you can do with Mockito.
-
showcase-powermock: Things you can do with PowerMock and Mockito.
-
showcase-dbunit: Things you can do with DbUnit and Mockito.
-
showcase-main: some domain classes shared among different examples.
-
integration-web-app: sample web app.
-
integration-web-htmlunit: example of automatic testing with HtmlUnit.
-
integration-web-selenium-ide: example of automatic testing with SeleniumIde.
-
integration-web-selenium-webdriver: example of automatic testing with WebDriver.
-
integration-jee-arquillan: JEE tests with Arquillan.
-
integration-jee-open-ejb: JEE tests with Open EJB.