This section contains the complete JUnit Tutorial.
JUnit Tutorial
- Introduction to JUnit
- Unit Testing
- What is JUnit
- Features & Need of JUnit
- JUnit Installation & classpath setting
- Running Example code & JUnit Uninstallation
- Create & running a test class
- JUnit with Eclipse
- Downloading & configuring with Eclipse.
- Create a Java class & Test Class
- Executing a JUnit test
- Create a test suite
- Static imports with Eclipse
- JUnit In Detail
- Annotations in JUnit
- @Test annotation
- Assertions in TestCase
- Testing for exceptions
- Creating and organizing test fixtures with setUp/tearDown and @Before/ @After
- Composing Test Cases into Test Suites
- Combining Test Suites
- Best Practices with JUnit
- Overview of Some Integration and functional testing Tools
Test oriented Development
- JUnit Expansions
- Overview of JUnit Extensions.
- Introduction to Stub & Mock
- Testing with Stubs
- Testing with Mocks
[ 0 ] Comments