Search⌘ K
AI Features

Testing and Frameworks

Understand different testing types like acceptance, functional, and regression testing while exploring leading Java test frameworks such as JUnit, TestNG, and Spock. Learn how mocking frameworks and automated build systems like Jenkins integrate testing into continuous delivery.

Types of testing

The following are types of tests you should write:

  • Acceptance tests: High-level tests that match the business requirements.
  • Compatibility: Making sure things work together.
  • Functional: Making sure codes work.
  • Black box: Testing without knowing/thinking about what’s going on in the code.
  • White box: Writing tests while keeping the code that’s being tested in mind.
  • Gray box: This is a hybrid of black and white.
  • Regression: Creating a test after finding a bug to make sure the bug does not reappear.
...