What Is JUnit

Q

What is JUnit? You need to remember the following points when answering this question:

  • It is a software testing framework to for unit testing.
  • It is written in Java and designed to test Java applications.
  • It is an Open Source Software maintained by the JUnit.org community.

✍: FYICenter.com QA Team

A

Answer from the JUnit FAQ:

JUnit is a simple, open source framework to write and run repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. JUnit features include:

  • Assertions for testing expected results
  • Test fixtures for sharing common test data
  • Test runners for running tests

JUnit was originally written by Erich Gamma and Kent Beck.

2008-01-02, 5524👍, 0💬