Test Organization Annotations
Test organization annotations allow users to control how tests are organized and structured.
Using @WriteTestsTo
@WriteTestsTopackage com.example.myapp;
@WriteTestsTo("CustomTestClassName")
public class SourceClass {
public String getValue() {
return "example";
}
}
// Tests will be written to: src/test/java/com/example/myapp/CustomTestClassName.javaLast updated
Was this helpful?

