ArchUnit
A Java architecture test library, to specify and assert architecture rules in plain Java (by TNG)
PIT
State of the art mutation testing system for the JVM (by hcoles)
Our great sponsors
ArchUnit | PIT | |
---|---|---|
6 | 1 | |
3,053 | 1,622 | |
1.5% | - | |
8.4 | 8.3 | |
4 days ago | 6 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ArchUnit
Posts with mentions or reviews of ArchUnit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-30.
-
How to create Unit tests for code design?
More examples you can find at official user guide https://www.archunit.org/userguide/html/000_Index.html or at github repository https://github.com/TNG/ArchUnit
-
You Want Modules, Not Microservices
I feel like the types of people that use ArchUnit are the types of people that misuse it anyway. Even the elevator pitch example in the project repository is of the backwards horizontal layering that leads any change to carpet bomb a project.
-
Anything similar to ArchUnit in Go?
I looked around but couldn't find anything that was very popular. Are there any packages similar to ArchUnit (See: https://github.com/TNG/ArchUnit)?
- Does anybody know any good materials for java defensive coding please?.
-
ArchUnit
JUnit 4
-
Wednesday Links - Edition 2020-12-23 🎄
ArchUnit 0.15.0 released (2 min read) 🎉 https://github.com/TNG/ArchUnit/releases/tag/v0.15.0
PIT
Posts with mentions or reviews of PIT.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-10.
-
Fuzzing Java in OSS-Fuzz
Another great tool is Pitest for mutation testing on the JVM (make coverage more meaningful) https://github.com/hcoles/pitest
What are some alternatives?
When comparing ArchUnit and PIT you can also consider the following projects:
Spock - The Enterprise-ready testing and specification framework.
Mutability Detector - Lightweight analysis tool for detecting mutability in Java classes
JUnit - A programmer-oriented testing framework for Java.
Selenide - Concise UI Tests with Java!
JMock - An expressive Mock Object library for Test Driven Development
PMD - An extensible multilanguage static code analyzer.
vscode-java-test - Run and debug Java test cases in Visual Studio Code.
JFairy - Java fake data generator
Mockito - Most popular Mocking framework for unit tests written in Java
PowerMock - PowerMock is a Java framework that allows you to unit test code normally regarded as untestable.