Skip to content

Detect Cucumber as a development environment#3145

Merged
marcotc merged 4 commits into
masterfrom
cucumber
Sep 22, 2023
Merged

Detect Cucumber as a development environment#3145
marcotc merged 4 commits into
masterfrom
cucumber

Conversation

@marcotc

@marcotc marcotc commented Sep 19, 2023

Copy link
Copy Markdown
Member

What does this PR do?

Ensures cucumber test execution is considered a development environment for the host application.

Motivation:

We do not want production-tailored features to pollute developers' test environments.

We already detect RSpec and Minitest test runs and skip some of our production features. This PR adds Cucumber to the detection list.

Additional Notes:

How to test the change?

There's an integration test in this PR.

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@marcotc
marcotc requested a review from a team September 19, 2023 21:16
@github-actions github-actions Bot added the core Involves Datadog core libraries label Sep 19, 2023
Base automatically changed from rails-test-detect to master September 19, 2023 21:16
@marcotc
marcotc requested a review from anmarchenko September 19, 2023 21:18
@marcotc marcotc self-assigned this Sep 19, 2023
@marcotc
marcotc merged commit ba54f47 into master Sep 22, 2023
@marcotc
marcotc deleted the cucumber branch September 22, 2023 22:44
@github-actions github-actions Bot added this to the 1.15.0 milestone Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Involves Datadog core libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants