Skip to content

Unit Testing

Purpose: Validate that individual components or functions work correctly in isolation.

Tools:

  • JUnit: Java unit testing framework.
  • NUnit: .NET unit testing framework.
  • pytest: Python testing framework for simple and scalable testing.
  • Mocha/Chai: JavaScript testing frameworks for unit testing in Node.js and browsers.

Types:

  • Static Testing: Code reviews and inspections.
  • Dynamic Testing: Testing specific functions or methods.