Skip to content

cucumber.publish.quiet=true not working #167

Description

@mjaggard

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:

  1. Create a cukes-rest example project.
  2. Create cucumber.properties and insert cucumber.publish.quiet=true
  3. Run tests
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions