JUnit

JUnit

DevOps / Build, Test, Deploy / Testing Frameworks
Needs advice
on
JUnitJUnitNUnitNUnit
and
SeleniumSelenium

We are looking for a Testing Tool that can integrate with Java/ React/ Go/ Python/ Node.js. Which amongst the three tools JUnit, NUnit & Selenium would be the best for this use case?

READ MORE
2 upvotes·483K views
Replies (2)
Java Software Engineer ·
Recommends
on
JUnit
Selenium

Well, Selenium because it is best for web application testing including UI and end-to-end testing. It also have WebDriver bindings are available for multiple programming languages including Java, Python, JavaScript/Node.js, etc. BUT, yes, there is a but, it is important to note that Selenium is primarily used for web application testing (well, based on your use case) and you need tests on a modular level. JUnit is for Java.

READ MORE
4 upvotes·101 views

I would recommend two other tools which are both very similar to each other partially because the same core team wrote both of them. One for Google then went over to Microsoft to do something similar. These tools are designed to work at testing modern websites which could be single page applications (SPA)

READ MORE
3 upvotes·553 views
CEO at Scrayos UG (haftungsbeschränkt)·

We use JUnit for our Java Unit and Integration tests in Version 5. Combined with @JMockit2 and @truth (from Google) we perform all kinds of tests on our minecraft, standalone and microservice architecture.

We prefer JUnit over TestNG because of the bigger community, better support and the generally more agile development. JUnit integrates nicely with most software, while TestNG support is a little more limited.

READ MORE
1 upvote·565.4K views