lambdaisland / kaocha-cucumber

Cucumber support for Kaocha
Eclipse Public License 1.0
38 stars 11 forks source link

Reflection warnings #3

Closed mapidentity closed 4 years ago

mapidentity commented 4 years ago

Hello @plexus , thank you for creating kaocha-cucumber! I've noticed that when running my tests a lot of reflection warnings are output (see below). Is there a way to suppress this? Root cause is probably missing type annotations. I'm willing to create a PR for this. Thanks!

Loading namespaces:  (foo bar qux)
Test namespaces:  (:features)
Loaded  foo  .
Loaded  bar  .
Loaded  qux  .
Instrumented namespaces.
Reflection warning, lambdaisland/cucumber/jvm/types.clj:25:23 - reference to field isFile can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:57:24 - reference to field parameterTypeRegistry can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:58:24 - call to method lookupByTypeName can't be resolved (target class is unknown).
Reflection warning, lambdaisland/cucumber/jvm.clj:77:27 - call to io.cucumber.cucumberexpressions.ParameterType ctor can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:76:5 - call to method defineParameterType can't be resolved (target class is unknown).
Reflection warning, lambdaisland/cucumber/jvm.clj:126:24 - reference to field parameterTypeRegistry can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:133:28 - call to method resources can't be resolved (target class is unknown).
Reflection warning, lambdaisland/cucumber/jvm.clj:134:24 - reference to field getPath on java.lang.Object can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:134:24 - reference to field getPath can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:133:28 - call to method resources can't be resolved (target class is unknown).
Reflection warning, lambdaisland/cucumber/jvm.clj:134:24 - reference to field getPath on java.lang.Object can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:134:24 - reference to field getPath can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:151:17 - call to cucumber.runtime.RuntimeOptions ctor can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:152:5 - call to lambdaisland.cucumber.jvm.proxy$cucumber.runtime.RuntimeOptions$ff19274a ctor can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:160:53 - reference to field getPluginStepDefinitionReporterNames on cucumber.runtime.RuntimeOptions can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:156:38 - reference to field getPluginFormatterNames on cucumber.runtime.RuntimeOptions can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:154:11 - reference to field getThreads can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:158:44 - reference to field getPluginSummaryPrinterNames on cucumber.runtime.RuntimeOptions can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:215:30 - reference to field getPath can't be resolved.
Reflection warning, lambdaisland/cucumber/jvm.clj:270:7 - reference to field run can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:9:10 - reference to field getLocation can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:9:10 - reference to field getLine can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:12:12 - reference to field getLocation can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:12:12 - reference to field getColumn can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:24:14 - reference to field getUri can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:25:28 - reference to field getGherkinFeature can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:26:21 - reference to field getUri can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:37:28 - reference to field getFeature can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:38:33 - reference to field getComments can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:46:36 - reference to field getTags can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:47:17 - reference to field getLanguage can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:48:17 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:49:17 - reference to field getName can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:50:17 - reference to field getDescription can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:51:36 - reference to field getChildren can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:68:17 - reference to field getText can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:76:17 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:77:17 - reference to field getName can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:78:17 - reference to field getDescription can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:79:36 - reference to field getSteps can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:91:17 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:92:17 - reference to field getName can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:93:17 - reference to field getDescription can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:94:36 - reference to field getSteps can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:95:36 - reference to field getTags can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:108:17 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:109:17 - reference to field getName can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:110:17 - reference to field getDescription can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:111:36 - reference to field getSteps can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:112:36 - reference to field getTags can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:113:36 - reference to field getExamples can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:127:36 - reference to field getTags can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:128:17 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:129:17 - reference to field getName can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:130:17 - reference to field getDescription can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:131:32 - reference to field getTableHeader can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:132:37 - reference to field getTableBody can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:146:14 - reference to field getKeyword can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:147:14 - reference to field getText can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:148:28 - reference to field getArgument can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:158:29 - reference to field getRows can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:165:24 - reference to field getCells can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:186:3 - reference to field getValue can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:191:18 - reference to field getContent can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:192:18 - reference to field getContentType can't be resolved.
Reflection warning, lambdaisland/cucumber/gherkin.clj:200:14 - reference to field getName can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:28:28 - call to method startsWith can't be resolved (target class is unknown).
Reflection warning, kaocha/type/cucumber.clj:71:33 - reference to field getPath can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:128:19 - reference to field testStep can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:130:80 - reference to field getStepText can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:131:98 - reference to field getStepLocation can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:132:64 - reference to field getStepLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:136:39 - reference to field testStep can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:141:49 - reference to field result can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:142:61 - reference to field testCase can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:142:52 - reference to field getUri can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:143:57 - reference to field testCase can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:143:47 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:169:27 - reference to field snippets can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:170:28 - reference to field stepLocations can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine on java.lang.Object can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
Reflection warning, kaocha/type/cucumber.clj:223:30 - reference to field getLine can't be resolved.
--- features (cucumber) ---------------------------
SNIP!