https://github.com/bernardo-mg/java-architecture-tests
Architecture tests for Java projects
https://github.com/bernardo-mg/java-architecture-tests
testing
Last synced: over 1 year ago
JSON representation
Architecture tests for Java projects
- Host: GitHub
- URL: https://github.com/bernardo-mg/java-architecture-tests
- Owner: Bernardo-MG
- License: mit
- Created: 2024-09-09T13:04:48.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-28T13:08:38.000Z (over 1 year ago)
- Last Synced: 2025-02-28T19:33:31.486Z (over 1 year ago)
- Topics: testing
- Language: Java
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Java Architecture Tests
Architecture tests for Java projects, using [ArchUnit](https://www.archunit.org/).
They can be imported into a runnable test:
```java
@AnalyzeClasses(
packages = { "com.bernardomg" },
importOptions = ImportOption.DoNotIncludeTests.class)
public class ArchitectureRulesTest {
@ArchTest
static final ArchTests serviceRules = ArchTests.in(ServiceRules.class);
}
```
[][maven-repo]
## Collaborate
Any kind of help with the project will be well received, and there are two main ways to give such help:
- Reporting errors and asking for extensions through the issues management
- or forking the repository and extending the project
### Issues management
Issues are managed at the GitHub [project issues tracker][issues], where any Github user may report bugs or ask for new features.
### Getting the code
If you wish to fork or modify the code, visit the [GitHub project page][scm], where the latest versions are always kept. Check the 'master' branch for the latest release, and the 'develop' for the current, and stable, development version.
## License
The project has been released under the [MIT License][license].
[maven-repo]: https://mvnrepository.com/artifact/com.bernardomg.framework.testing/architecture-tests
[issues]: https://github.com/bernardo-mg/architecture-tests/issues
[license]: https://www.opensource.org/licenses/mit-license.php
[scm]: https://github.com/bernardo-mg/architecture-tests