I made a Github project GitHub - kazurayam/WebDriverFactory4ks at 0.2.0. I want to make it a Plugin. I refered to the instruction
How to develop Custom Keywords Plugins
The instruction required me to make Keywords/katalon-plugin.json
, so I made the following one:
{
"keywords": [
'com.kazurayam.webdriverfactory4ks.ApplicationInfo',
'com.kazurayam.webdriverfactory4ks.Assert',
'com.kazurayam.webdriverfactory4ks.ChromeDriverFactory',
'com.kazurayam.webdriverfactory4ks.ChromeOptionsResolver',
'com.kazurayam.webdriverfactory4ks.ChromePreferencesResolver',
'com.kazurayam.webdriverfactory4ks.ChromeProfile',
'com.kazurayam.webdriverfactory4ks.DesiredCapabilitiesResolver',
'com.kazurayam.webdriverfactory4ks.OSIdentifier'
]
}
I have an idea about this.
Most of the Gradle tasks (compileJava, Jar, javadoc and many other) supports include(String)
and exclude(String)
statements where the argument is expected to be ANT-style file path pattern.
I would request the katalon-plugin.json
to follow this convention. If the Ant-style pattern is applied, my katlaon-plugin.json would be much shorted as:
{
"keywords": [
'com/kazurayam/webdriverfactory4ks/**/*.groovy'
]
}