java-junit
SolidGet best practices for JUnit 5 unit testing, including data-driven tests
Install
Quality Score: 93/100
Skill Content
Details
- Author
- github
- Repository
- github/awesome-copilot
- Created
- 11 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
java-junit
JUnit 5 testing patterns and parameterized-test guidance. Use when writing or reviewing Java unit tests.
csharp-tunit
Get best practices for TUnit unit testing, including data-driven tests
csharp-xunit
Get best practices for XUnit unit testing, including data-driven tests
csharp-nunit
Get best practices for NUnit unit testing, including data-driven tests
131-java-testing-unit-testing
Use when you need to review, improve, or write Java unit tests — including migrating from JUnit 4 to JUnit 5, adopting AssertJ for fluent assertions, structuring tests with Given-When-Then, ensuring test independence, applying parameterized tests, mocking dependencies with Mockito, verifying boundary conditions (RIGHT-BICEP, CORRECT, A-TRIP), leveraging JSpecify null-safety annotations, or eliminating testing anti-patterns such as reflection-based tests or shared mutable state. This should trigger for requests such as Review Java code for unit tests; Apply best practices for unit tests in Java code. Part of cursor-rules-java project