Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect Cucumber as a development environment #3145

Merged
merged 4 commits into from
Sep 22, 2023
Merged

Detect Cucumber as a development environment #3145

merged 4 commits into from
Sep 22, 2023

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Sep 19, 2023

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 self-assigned this Sep 19, 2023
@marcotc marcotc merged commit ba54f47 into master Sep 22, 2023
217 checks passed
@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