JUnit is a simple framework to write repeatable tests.

Languages supported:

8.2/10 (Expert Score) ★★★★★
Product is rated as #27 in category Java Web Frameworks Software
Ease of use
8.0
Support
8.1
Ease of Setup
8.0

JUnit is a simple framework to write repeatable tests.

Show more categories

Customer Reviews

JUnit Reviews

Lav T.

Advanced user of JUnit
★★★★★
My First Testing Experience on JUNIT

What do you like best?

- Quick and easy to learn.

- advantage of test methods consuming data arguments directly from the configured source.

- recommended for new learner.

In general:

- JUnit testing saves time and money.

- JUnit testing is an Integral part of extreme programming.

- JUnit testing helps gauge performance.

- JUnit testing improves code coverage.

- JUnit testing reduces code complexity.

The annotations of JUnit testing, that can be used while writing the test cases in Junit framework are

@Test: the test annotation specifies the test method.

@Test(timeout=1000) this type of annotations specifies that the method will be failed if it takes more than 1000 milliseconds.

@BeforeClass: this annotation specifies that the method will be invoked only once before all tests starts.

Before: this method invokes at the very beginning of the each test.

@After: this annotation invokes this method invokes after each test.

@After class annotation specifies that the method will invoke only once at the end of all test.

The org.Junit package contains many interfaces and classes like Assert, Test, before etc

What do you dislike?

dependency feature is missing up to version 4. Though then it is fine because version 5 has such dependency management.

Recommendations to others considering the product:

Everything from setting up to successfully executing the test cases or test scripts are well explained on Junit official documentation site i.e, on https://junit.org/junit5/docs/current/user-guide/ . In addition to that, the reoccurring problems with their solutions are mostly available on popular tech forum such as stackoverflow.com.

What problems are you solving with the product? What benefits have you realized?

completed many projects using this framework on Automation such as capturing failed test with a screenshot library to address the issue where exactly it has failed, similarly, for automating the email by opening the unread emails and taking screenshot of it and saving to the desired folder where i can quickly and directly look into it without opening the email on the web.

Similarly, it has made a project testing quite easy for checking and testing the functionality of the web platform, similarly it has been an aid to reverify multiple and repetitive test task which has made a tester like us really easy to thoroughly test the system.

Likewise, it not only has been benefited to my personal growth but also on the company for daily solving the repetitive task once we acquire the full functioned testing framework.

In addition to that, it has been helpful to integrate with IDEs such as eclipse and Intellij.

Review source: G2.com

Leave a reply

Your total score

B2B Software Guide