In this training, participants will get good expertise in usage of JUnit and will be able to use and execute test frameworks, test cases for Java programs. The course also covers the other elements like annotation, data parametrization and Test Suite creation.
In JUnit training, trainee will be trained in the following areas.
->Core concepts of JUNIT and basic usage
• JUNIT Test framework, API
• Detail examples of JUNIT writing tests, executing tests, execution procedure, Test suite
• JUNIT plug with Testing, Eclipse
-> Section 1: Basics of Unit Testing
• What is a GOOD Unit Test
• What is an Integration Test
• Why write Unit Tests
• What to test
• How many unit tests will we have
-> Section 2: Tools and Frameworks
• Test Frameworks
• Isolation Frameworks
• Code Coverage Tools
-> Section 3: Core Techniques for GOOD Unit Tests
• Isolation
• Test Inhibiting Design to TOOD
• Understanding Mocks vs Stubs
• Test Doubles
-> Section 4: Good Unit Tests Ask for Quality Code
• Why we want quality code
• Getting to quality code by doing Good Unit Testing
• Patterns and Principles emerging from the Good Unit Test positive pressure
• Test Code Cycle
• Code Coverage Pressure
-> Section 5: The Unit Test Code
• Testing an Abstract Class
• Good Practices for Writing Unit Tests
• Unit Test Types
• Test Class Inheritance Patterns
• Organizing Unit Test Code
-> Section 6: The Three Pillars of GOOD Unit Tests
• Readability
• Maintainability
• Trustworthiness
-> Section 7: Working with Junit
• Working with Java programs
• Working with annotations
• Introduction about Junit
• Advantage of Junit
• Unit test cases using Junit
• What is test suite
• Why we need test suite
• Test suite using Junit
• Working with Testing
• What is mocking
• Why we need mocking
• Junit examples with mocking