issues
search
picimako
/
citric
Citrus framework integration for the IntelliJ platform.
0
stars
0
forks
source link
Preliminary support for `@CitrusTestFactory` annotation
#11
Closed
picimako
closed
9 months ago
picimako
commented
10 months ago
Tasks
[x] Add an action into the Alt+Insert Generate menu to be able to generate
@CitrusTestFactory
annotated Citrus JUnit5 test methods.
Create inspections for the annotation, if any necessary.
Based on
https://junit.org/junit5/docs/5.5.1/api/org/junit/jupiter/api/TestFactory.html
[x]
@CitrusTestFactory
methods must not be private or static
[x]
@CitrusTestFactory
methods must have the proper return types
[x]
@CitrusTestFactory
annotated method doesn't need the JUnit
@TestFactory
annotation.
[x] Extend existing inspections to handle and take into account this annotation.
Resources
https://junit.org/junit5/docs/current/user-guide/#writing-tests-dynamic-tests
https://junit.org/junit5/docs/5.5.1/api/org/junit/jupiter/api/TestFactory.html
https://www.baeldung.com/junit5-dynamic-tests
picimako
commented
9 months ago
Completed in v1.0.4.
Tasks
@CitrusTestFactory
annotated Citrus JUnit5 test methods.@CitrusTestFactory
methods must not be private or static@CitrusTestFactory
methods must have the proper return types@CitrusTestFactory
annotated method doesn't need the JUnit@TestFactory
annotation.Resources