Describe the bug
When I try to remove the advert by setting cucumber.publish.quiet=true in my cucumber.properties file I have other issues that I don't understand.
To Reproduce
Steps to reproduce the behavior:
- Create a cukes-rest example project.
- Create cucumber.properties and insert cucumber.publish.quiet=true
- Run tests
- See the following error
More than one Cucumber ObjectFactory was found in the classpath
Found: lv.ctco.cukes.core.internal.di.SingletonObjectFactory, io.cucumber.guice.GuiceFactory
Expected behavior
The advert banner should be suppressed.
Context & Motivation
I'm attempting to get my new team to use Cucumber REST tests and the advert is a distraction.
Your Environment
- Versions used 6.9.0
- Operating System and version Mac Big Sur
- Build tool Gradle 6.7.1
Additional context
If I attempt to fix the problem using cucumber.object-factory=io.cucumber.guice.GuiceFactory I get the following error
com.google.inject.ConfigurationException: Guice configuration errors:
1) No implementation for java.util.Set<lv.ctco.cukes.core.extension.CukesPlugin> was bound.
Describe the bug
When I try to remove the advert by setting cucumber.publish.quiet=true in my cucumber.properties file I have other issues that I don't understand.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The advert banner should be suppressed.
Context & Motivation
I'm attempting to get my new team to use Cucumber REST tests and the advert is a distraction.
Your Environment
Additional context
If I attempt to fix the problem using
cucumber.object-factory=io.cucumber.guice.GuiceFactoryI get the following error