In this session, I have explained and practically demonstrated about JUnit Unit Testing framework in a detailed and step by step manner.
View Notes Here - http://www.evernote.com/l/AbEGUeDj9tJFKajvFL08fYLXZMj1Gl5GdXs/
The following are covered in this session:
- What is JUnit?
- Adding JUnit library to Eclipse IDE Projects
- Create Normal Java Project and configuring it with JUnit Library
- Create Maven Java Project and configuring it with JUnit Library
- Creating JUnit tests using @Test annotation
- Adding multiple JUnit tests to the same class
- @FixMehodOrder
- Ignoring the JUnit tests from execution
- Parameterizing tests and @RunWith annotation
- @Parameters annotation
- Using Assertions for validations
- Assert and assertEquals(), assertTrue(), assertFalse() and fail()
- Using ErrorCollector in JUnit
- Batch Execution using JUnit
- JUnit Annotations - @Test, @Before, @After, @BeforeClass and @AfterClass
- And many more.
Download
0 formats
No download links available.
JUnit - Unit Testing Framework (Detailed Explanation from Scratch with Practical examples) | NatokHD