T2613
JUnit Enhetstest
JUnit is a Java open source testing tool for continuous, comprehensive and quick testing of Java software. JUnit and its accessory tools are targeted for developers low level unit testing but those can be used in other testing phases during the development process.
A number of examples and short exercises will cover the different aspects of test development.
Se Utbildningsstege för Java
Audience:
Java developers and testers.
Objectives:
You will learn how to use JUnit and other related tools for comprehensive testing of Java code. Focus will be on handling all aspects of JUnit from OS-level as well as a plugin to an IDE. Open source tools for testing of Java GUI, Web applications and performance will also be included. As a bonus you will learn how to use the ANT build system integrated with code development and testing.
Course outline:
1. Unit testing basics
- Unit testing challenges
- Motivation for unit testing
- TDD - Test Driven Development
2. JUnit basics
- JUnit architecture
- How to create and execute basic tests?
- Test strategies
- Best practices
3. Testing existing code
- Unit tests for legacy code
- Practical testing patterns
- Stubbing of external dependencies
4. ANT
- Using ANT as a plugin to an IDE
- ANT basics
- ANT scripts for JUnit tests
5. Other supportive xUnit tools
- Test generation
- Report generation
6. Performance testing
- Using JUnitPerf performance tools
- Timed tests
- Load tests
- Coverage checking
7. GUI testing
- Challenges and patterns
- Robot class
- Open source tools
8. Web-application testing
- Challenges and patterns
- HttpUnit
9. J2EE testing
- Possible testing targets
- Testing phases
10. JUnit 3 Comparison
- Comparison to classic JUnit
- Using annotations in tests
Fakta
Kurs
T2613
Längd
2 dagar
Pris
14.500 kr (exkl. moms)
Förkunskaper
Javaprogrammering Grundkurs
Kursmaterial
Kursmaterial på engelska ingår.
Kontakta oss
för mer information:
08 - 587 116 10 (Stockholm)
031 - 773 07 90 (Göteborg)
040-662 20 60 (Malmö)
info@informator.se