Save to My Lists
Unclaimed
Unclaimed

Top Rated JUnit Alternatives

JUnit Reviews & Product Details

Pawar S.
PS
DevOps Engineer
Enterprise(> 1000 emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

JUnit is an open-source framework and for test-driven development, we can integrate it into our pipeline easily. JUnit ensures that after making changes/adding to the code, nothing is broken. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

It is written for Java programming language only, it would have been good if it supported more programming languages. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

JUnit is ensuring our code changes don't break the application by executing the test cases every time. JUnit is easy to use and integrates with any CI/CD pipeline like Jenkins. It is open source and provides annotations, assertions, and test runners. JUnit Increase the code quality and brings stability to the application. It is very simple and less complex and takes less time to execute the test cases.

JUnit also provides a progress bar in the UI, if it's green means test cases are successful and if it changes to red means test cases failed. Review collected by and hosted on G2.com.

JUnit Overview

What is JUnit?

JUnit is a simple framework to write repeatable tests.

JUnit Details
Discussions
JUnit Community
Show LessShow More
Product Description

JUnit is a simple framework to write repeatable tests.


Seller Details
Seller
JUnit
HQ Location
Oslo, Oslo
Twitter
@junit
109 Twitter followers
LinkedIn® Page
www.linkedin.com
1 employees on LinkedIn®

Recent JUnit Reviews

Pawar S.
PS
Pawar S.Enterprise (> 1000 emp.)
5.0 out of 5
"Best testing framework of unit testing programs written in java"
JUnit is an open-source framework and for test-driven development, we can integrate it into our pipeline easily. JUnit ensures that after making ch...
Vijendra P.
VP
Vijendra P.Enterprise (> 1000 emp.)
5.0 out of 5
"Junit for writing testing unit test cases"
Junit is used for performing testing on our own piece of code for comparing the behaviour of our bussiness method. In order to test our bussiness ...
Prashant P.
PP
Prashant P.Enterprise (> 1000 emp.)
5.0 out of 5
"JUNIT"
Junit is widely Used Framework for writing and running unit testing in java. Junit allow developer to write test case that are specific to their t...
Security Badge
This seller hasn't added their security information yet. Let them know that you'd like them to add it.
0 people requested security information

JUnit Media

Answer a few questions to help the JUnit community
Have you used JUnit before?
Yes

35 out of 36 Total Reviews for JUnit

4.1 out of 5
The next elements are filters and will change the displayed results once they are selected.
Search reviews
Popular Mentions
The next elements are radio elements and sort the displayed results by the item selected and will update the results displayed.
Hide FiltersMore Filters
The next elements are filters and will change the displayed results once they are selected.
The next elements are filters and will change the displayed results once they are selected.
35 out of 36 Total Reviews for JUnit
4.1 out of 5
35 out of 36 Total Reviews for JUnit
4.1 out of 5
G2 reviews are authentic and verified.
Vijendra P.
VP
Software Developer
Enterprise(> 1000 emp.)
More Options
Validated Reviewer
Verified Current User
Review source: Organic Review from User Profile
(Original )Information
What do you like best about JUnit?

Junit is used for performing testing on our own piece of code for comparing the behaviour of our bussiness method.

In order to test our bussiness logic we have to utilize this .

For Implementating unit test cases we can use Junit.

It is very frequently used testing tool for unit testing.

There are several features of Junit,which are as follows, test our own piece of code make it easy using junit,here we can verify our actual behaviour and expected behaviour of bussiness logic.

It can easily integrate with your project,just we have to add the junit dependencies in pom.xml.

We can utilize annotation for understanding the behaviour of test cases. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

We can only test the bussiness logic which are implemented completely.

We cannot test the final method,static and private methods using junit.

Lack of information of test code fails Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

it very easy to use junit,here we can verify our actual behaviour and expected behaviour of bussiness logic.

We can write bug free source code.

It can easily integrate with your project,just we have to add the junit dependencies in pom.xml. Review collected by and hosted on G2.com.

Prashant P.
PP
Software Engineer
Enterprise(> 1000 emp.)
More Options
Validated Reviewer
Verified Current User
Review source: G2 invite
Incentivized Review
(Original )Information
What do you like best about JUnit?

Junit is widely Used Framework for writing and running unit testing in java.

Junit allow developer to write test case that are specific to their testing code requirement.

Junit helps developer to write clean code by providing annotation and assertions support.

From Junit 4 from onwards we have explanations backing to play out the Unit testing.

Backing of Statements assists us with contrasting the genuine and anticipated results.

JUnit is an open source means its source code is available to the users.

We can perform Unit Testing, Junit is utilized to perform Unit testing for java applications.

We can plan our own test case by utilizing JUNIT5.

It is also cross-platform means it is not dedicated to one particular Operating System, it is available for Windows, MacOs,Linux also.

@Test, @After, @Before annotations makes it easy to write test case scenarios.

Junit Provides detailed error messages like stack traces, no. of testcase passed,failed, reason for failed test cases, we can set breakpoints for debugging also. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

To utilize full potential of Junit ,we have to depend on third party library, which increase project complexity.

It is not suitable for all Testing,Junit primarly focuses on unit testing

It is designed mainly for testing java code,not for any other programming languages.

We can't include Junit for testing private method.

For Small project this much unnecessary configuration is required which makes project complex.

JUnit we can use just to perform java classes unit testing.

We can't use Junit for jsp testing.

It does't provide mocking for that we have to use Mockito framework and EasyMock. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

JUnit automates the testing process, By automating testing, JUnit helps identify bugs.

We can test the individual method of our code.

Bugs will be identified at development stage only.

We can provide bug free & Quality code for higher environments Review collected by and hosted on G2.com.

Lav T.
LT
Chief Executive Officer
Small-Business(50 or fewer emp.)
More Options
Validated Reviewer
Verified Current User
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

- 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 Review collected by and hosted on G2.com.

What do you dislike about JUnit?

dependency feature is missing up to version 4. Though then it is fine because version 5 has such dependency management. Review collected by and hosted on G2.com.

Recommendations to others considering JUnit:

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. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

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 collected by and hosted on G2.com.

Verified User in Research
UR
Small-Business(50 or fewer emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

It is a very simple framework for writing automated, self-verifying tests in Java. It enables fast and smart testing. Very helpful for even the simplest of projects. It has come up with a new feature testing as well which is very useful. It is quick and effective, and it improves the code coverage. Apart from that, it reduces the code complexity which comes very useful for daily use and running daily tests.

It has many support documents available at ease and the test reporting is immediate. I have used it more than any other unit. It is very basic but does the work perfectly. It is supported by many IDE's. Because of that, the installation becomes way easier to do and easier to use. The IDE integration is very nice as well. Very easy with Eclipse, Maven, or even Gradle. JUnit testing is an integral part of extreme programming.

It is very quick and easy to learn. Even for new learners, it is recommended. It gives a wider range of testing and means to identify the test methods. Very effective for Test Suite development. It saves a lot of time and money for its quick test runs. The Framework is open source and some of the good features of it are Test Runner, JUNIT classes, and TestSuite. JUnit testing helps gauge performance.

It is not at all complex and it provides a way to develop very basic test cases to very complex ones. It is the advantage of test methods consuming data arguments directly from the configured source. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

There are a few things that can improve JUnit. Like failure messages pointing out to why it failed and giving appropriate line number. The error code or something could be then tracked to get the correction. So I think important failure feedback should be improved, Review collected by and hosted on G2.com.

Recommendations to others considering JUnit:

It is very quick and easy to learn. Even for new learners, it is recommended. It is automatic, can run on larger test suites with just one command. It is very easy to use because of its integration with many IDEs and platforms. It has some very good tutorials available in open source. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

JUnit is basically for Unit testing. It becomes very easy to do unit testing now especially because the IDE integration is available and there is nothing extra that we need to do. I have used it to improve the code quality by writing faster codes and then organizing them into test suites. The automatic runs for JUnit check the own results and provide feedback and we do not have to manually do anything about the Unit testing. It becomes easier to store the report messages in cases of failure as the process is very effective in cases of a break in the code. I used it for running the tests automatically, generate failure reports, and running a larger suite of tests in just one command line. Review collected by and hosted on G2.com.

Taimoor H.
TH
Full Stack Engineer
Mid-Market(51-1000 emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
Business partner of the seller or seller's competitor, not included in G2 scores.
What do you like best about JUnit?

JUnit provides a way to develop very basic test cases to the most complex ones via individual test cases to test suites. At every level of testing I found it winning the code. Even we use other tools, we have to stick to JUnit for its effective and basic testing framework used in wider ways. TDD (Test driven development) means nothing without JUnit as it provides easy approach to develop the test cases in parallel of code. Detection of errors from black to gray level testing is main theme of it. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

JUnit improving day to day, so need to remove obselete features Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

Test Suites are best, one time configuration required and run all test cases on one click Review collected by and hosted on G2.com.

Verified User in Hospital & Health Care
UH
Small-Business(50 or fewer emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

Due to its simplicity JUnit should be first option when testing the java applications. JUnit can be used separately or integrated with build tools like Maven and Ant and third party extensions, such as dbUnit cor database testing operations, xmlUnit.

Simple framework for writing automated, self-verifying tests in Java

Support for test assertions

Test suite development

Immediate test reporting Review collected by and hosted on G2.com.

What do you dislike about JUnit?

It cannot do dependency testing as opposed to TestNG framework.

It's not suitable for higher level testing i.e. for large test suites.

Group testing cannot be done in JUnit, which is available in TestNG.

Can't create HTML reports of test cases. You need to use ANT to create tests HTML reports. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

Easily create and most importantly manage a rich unit test case suite for the entire software.

JUnit has become a standard for testing in Java programming language and is supported by almost all IDE’s e.g. NetBeans, Eclipse etc. So, you work in any standardized IDE environment, you would find the support of JUnit in it.

Every time you make a small or a big modification in the code (in any function), you can make sure that the function is performing well and has not broken any older functionality by executing all JUnit test cases in one go written for that function. Review collected by and hosted on G2.com.

Mohammad h.
MH
Developer
Small-Business(50 or fewer emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

The best thing about JUnit test is that it help developers to write code in faster Review collected by and hosted on G2.com.

What do you dislike about JUnit?

Junit test not suitable for dependency testing that is it difficult to test higher level of testing Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

The main advantage of using JUnit testing is that it make sure that every part of the software or functions are tested Review collected by and hosted on G2.com.

Bogdan-Nicolae S.
BS
Software Engineer
Mid-Market(51-1000 emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
What do you like best about JUnit?

It's easy to write tests with JUnit. Since I've started to do TDD, JUnit has always been a tool in my belt. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

Sometimes it takes lots of time to write tests, especially for more complex hard-to-test cases. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

I am making sure that my code runs as expected which leads to reduced technical debt. Review collected by and hosted on G2.com.

Verified User in Computer Software
UC
Enterprise(> 1000 emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
(Original )Information
What do you like best about JUnit?

The user guide which is detailed and helped me to learn that quickly. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

There is nothing as such that I dislike about JUnit. Review collected by and hosted on G2.com.

Recommendations to others considering JUnit:

Definitely use it. It will make testing easier. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

I was doing unit testing with JUnit before the product is released. It is easy to use. Review collected by and hosted on G2.com.

Mostafijur R.
MR
Software Engineer
Mid-Market(51-1000 emp.)
More Options
Validated Reviewer
Review source: G2 invite
Incentivized Review
Business partner of the seller or seller's competitor, not included in G2 scores.
What do you like best about JUnit?

JUNIT testing this looks like very effective to me. Review collected by and hosted on G2.com.

What do you dislike about JUnit?

There are nothing something like this for usual uses. Review collected by and hosted on G2.com.

What problems is JUnit solving and how is that benefiting you?

As I am a Java Developer, I have to always work with Junit Testing, This is default in Java. I have enjoyed this so much Review collected by and hosted on G2.com.