How to package Custom Keyword as plugin requires me to create Keywords/katalon-plugin.json
file, for example:
{
"keywords": ["com.katalon.plugin.keyword.excel.ExcelReadKeywords", "com.katalon.plugin.keyword.excel.ExcelWriteKeywords"]
}
I thought that katalon-plugin.json
file is meant to express which class to be included in the plugin’s jar to be created.
I created my katalon-splugin.json as https://github.com/kazurayam/junit4ks/blob/master/Keywords/katalon-plugin.json
{
"keywords": [
"com.kazurayam.junit4ks.IgnoreRest",
"com.kazurayam.junit4ks.IgnoreRestHelper",
"com.kazurayam.junit4ks.IgnoreRestRule",
"com.kazurayam.junit4ks.IgnoreRestSupportRunner",
"com.kazurayam.junit4ks.JUnitCustomKeywords"
]
}
But the generated jar file contains unwanted *Test.classes etc. I am wondering what katalon-plugin.json
is designed for.