Basic Java language knowledge is required to participate in this course.
JUnit is a framework to write repeatable tests and do unit testing for Java language.
JUnit jumpstart
- Proving it works
- Starting from scratch
- Understanding unit testing frameworks
- Setting up JUnit
- Testing with JUnit
Exploring JUnit
- Exploring core JUnit
- Launching tests with test runners
- Composing tests with TestSuite
- Collecting parameters with TestResult
- Observing results with TestListener
- Working with TestCase
- Stepping through TestCalculator
Sampling JUnit
- Introducing the controller component
- Let's test it!
- Testing exception-handling
- Setting up a project for testing
Examining software tests
- Why we need unit tests
- Kinds of tests
- Determining how good tests are
- Test-driven development
Automating JUnit
- A day in the life
- Running tests from Ant
- Running tests from Maven
- Running tests from Eclipse
Coarse-grained testing with stubs
- Introducing Stubs
- Practicing on an HTTP Connection sample
- Stubbing the web server's resources
- Stubbing the connection
Testing in isolation with mock objects
- Introducing mock objects
- Mock tasting's simple example
- Using mock objects as a refactoring technique
- Practicing on an HTTP connection sample
- Using mocks as Trojan horses
- Deciding when to use mock objects
In-container testing with Cactus
- The problem with unit-testing components
- Testing components using mock objects
- Integration unit tests
- Introducing Cactus
- Testing components using Cactus
- How Cactus works
Unit-testing servlets and filters
- Presenting the Administration application
- Writing servlet tests with Cactus
- Testing servlets with mock objects
- Writing filter tests with Cactus
- When to use Cactus, and when to use mock objects
Unit-testing JSPs and taglibs
- Revisiting the Administration application
- JSP unit testing
- Unit-testing a JSP in isolation with Cactus
- Unit-testing taglibs with Cactus
- Unit-testing taglibs with mock objects
- When to use mock objects, and when to use Cactus
Unit-testing database applications
- Database unit testing
- Testing business logic in isolation from the database
- Testing persistence code in isolation from the database
- Writing database integration unit tests
- Running the Cactus test using Ant
- Tuning for build performance
- Overall database unit-testing strategy
Unit-testing EJBs
- Defining a sample EJB application
- Using a fa?ade strategy
- Unit testing JNDI code using mock objects
- Unit-testing session beans
- Using mock objects to test message-driven beans
- Using mock objects to test entity beans
- Choosing the right mock object strategy
- Using integration unit tests
- Using JUnit and remote calls
- Using Cactus
United Arab Emirates - Unit Testing with JUnit
Qatar - Unit Testing with JUnit
Egypt - Unit Testing with JUnit
Saudi Arabia - Unit Testing with JUnit
South Africa - Unit Testing with JUnit
Brasil - Testes Unitários com JUnit
Canada - Unit Testing with JUnit
Österreich - Unit Testing mit JUnit
Schweiz - Unit Testing mit JUnit
Deutschland - Unit Testing mit JUnit
Czech Republic - Unit Testing with JUnit
Denmark - Unit Testing with JUnit
Estonia - Unit Testing with JUnit
Finland - Unit Testing with JUnit
Greece - Unit Testing with JUnit
Magyarország - Unit Testing with JUnit
Ireland - Unit Testing with JUnit
Luxembourg - Unit Testing with JUnit
Latvia - Unit Testing with JUnit
España - Prueba de Unidad con JUnit
Italia - Unit Testing with JUnit
Lithuania - Unit Testing with JUnit
Nederland - Unit Testing with JUnit
Norway - Unit Testing with JUnit
Portugal - Testes Unitários com JUnit
România - Unit Testing with JUnit
Sverige - Unit Testing with JUnit
Türkiye - Unit Testing with JUnit
Malta - Unit Testing with JUnit
Belgique - Unit Testing with JUnit
France - Unit Testing with JUnit
Australia - Unit Testing with JUnit
Malaysia - Unit Testing with JUnit
New Zealand - Unit Testing with JUnit
Philippines - Unit Testing with JUnit
Singapore - Unit Testing with JUnit
Thailand - Unit Testing with JUnit
Vietnam - Unit Testing with JUnit
India - Unit Testing with JUnit
Argentina - Prueba de Unidad con JUnit
Chile - Prueba de Unidad con JUnit
Costa Rica - Prueba de Unidad con JUnit
Ecuador - Prueba de Unidad con JUnit
Guatemala - Prueba de Unidad con JUnit
Colombia - Prueba de Unidad con JUnit
México - Prueba de Unidad con JUnit
Panama - Prueba de Unidad con JUnit
Peru - Prueba de Unidad con JUnit
Uruguay - Prueba de Unidad con JUnit
Venezuela - Prueba de Unidad con JUnit
Polska - Unit Testing with JUnit
United Kingdom - Unit Testing with JUnit
South Korea - Unit Testing with JUnit
Pakistan - Unit Testing with JUnit
Sri Lanka - Unit Testing with JUnit
Bulgaria - Unit Testing with JUnit
Bolivia - Prueba de Unidad con JUnit
Indonesia - Unit Testing with JUnit
Kazakhstan - Unit Testing with JUnit
Moldova - Unit Testing with JUnit
Morocco - Unit Testing with JUnit
Tunisia - Unit Testing with JUnit
Kuwait - Unit Testing with JUnit
Oman - Unit Testing with JUnit
Slovakia - Unit Testing with JUnit
Kenya - Unit Testing with JUnit
Nigeria - Unit Testing with JUnit
Botswana - Unit Testing with JUnit
Slovenia - Unit Testing with JUnit
Croatia - Unit Testing with JUnit
Serbia - Unit Testing with JUnit
Bhutan - Unit Testing with JUnit