picimako / citric

Citrus framework integration for the IntelliJ platform.
0 stars 0 forks source link

Easy navigation from @CitrusTestSource method to test resource #5

Closed picimako closed 1 year ago

picimako commented 1 year ago

Summary

@CitrusTestSource annotated methods reference test scripts and test descriptor files in other DSLs. To make the lookup and navigation to those files simpler and quicker, some kind of navigation option should be implemented.

Tasks

Combination of options

name packageName packageScan sources Executed
Java test method name in package of the declaring class.
+ name attribute value + file extension of type in package of the declaring class.
+ Java test method name in the packageName package.
+ The Java test method name is ignored. Test names are the ones found in the packageScan package.
+ The files specified in sources in the packages of files specified in sources
+ + name attribute value + file extension of type in packageName package.
+ + name attribute value + file extension of type from the current package, AND all tests in the packageScan package.
+ + Only the files specified in sources, but a GroovyTestLoader is also created for name which is not executed.
+ + Only the files found in packageScan.
+ + + name attribute value + file extension of type from the packageName package, AND all tests in the packageScan package.
+ + Only the files specified in sources.
+ + + Only the files specified in sources, but a GroovyTestLoader is also created for name which is not executed.
+ + Files found in packageScan, AND in source.
+ + + Only the name attribute value + file extension of type from the current package but GroovyTestLoaders are also created for packageScan and sources that are not executed.
+ + + Only the files specified in packageScan and sources.
+ + + + name attribute value + file extension of type from the packageName package, AND sources, but GroovyTestLoaders are also created for packageScan which are not executed.
picimako commented 1 year ago

Completed in v1.0.3.