5
votes

How to disable this message:

┌───────────────────────────────────────────────────────────────────────────────────┐
│ Share your Cucumber Report with your team at https://reports.cucumber.io          │
│ Activate publishing with one of the following:                                    │
│                                                                                   │
│ src/test/resources/cucumber.properties:          cucumber.publish.enabled=true    │
│ src/test/resources/junit-platform.properties:    cucumber.publish.enabled=true    │
│ Environment variable:                            CUCUMBER_PUBLISH_ENABLED=true    │
│ JUnit:                                           @CucumberOptions(publish = true) │
│                                                                                   │
│ More information at https://reports.cucumber.io/docs/cucumber-jvm                 │
│                                                                                   │
│ Disable this message with one of the following:                                   │
│                                                                                   │
│ src/test/resources/cucumber.properties:          cucumber.publish.quiet=true      │
│ src/test/resources/junit-platform.properties:    cucumber.publish.quiet=true      │
└───────────────────────────────────────────────────────────────────────────────────┘

Click here

What steps to take?

4
Please read this article on how to ask a good question - stackoverflow.com/help/how-to-ask. In order to be helped you will need to add more information - what you have tried and so on. - Mhluzi Bhaka

4 Answers

2
votes

In the message it is saying as below:

Disable this message with one of the following:

  • src/test/resources/cucumber.properties: cucumber.publish.quiet=true
  • src/test/resources/junit-platform.properties: cucumber.publish.quiet=true

For me it was disabled after doing both of the above

0
votes

create a new cucumber.properties file under rc/test/resources/ and then add this line cucumber.publish.quiet:true

0
votes

I've got the same problem here and I solved it by following the steps in the message:

  1. Creating these two files in "src/test/resources" on the Package Explorer;
  2. Adding the line "cucumber.publish.quiet=true" to each one of them.
-1
votes

For disabling the cucumber publish message in console,reference for console Message.

Create a file named "cucumber.properties" in src/test/resources file path(which by default gets created when we create a new project in eclipse). Mention cucumber.publish.quite=true in the properties file. That's it now you won't see that cucumber content in the console.

reference image.