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

Add a way to mark a test as flaky: #38

Merged
merged 1 commit into from
Feb 27, 2019
Merged

Add a way to mark a test as flaky: #38

merged 1 commit into from
Feb 27, 2019

Conversation

Edouard-chin
Copy link
Contributor

Add a way to mark a test as flaky:

  • The deprecations triggered by some test is different (either they
    get triggered in a different order or they don't trigger the same
    amount of deprecations between multiple test runs).

    By definition the test is flaky. Even if at the end the test passes,
    the fact that sometime a method run and sometime it doesn't is the
    sign of flakyness.
    The deprecation toolkit can't deal with that.

    This PR adds a way to mark a test as flaky so that the deprecations
    triggered by the test will be ignored.
    The syntax is like that:

    my_test:
      - flaky: true

- The deprecations triggered by some test is different (either they
  get triggered in a different order or they don't trigger the same
  amount of deprecations between multiple test runs).

  By definition the test is flaky. Even if at the end the test passes,
  the fact that sometime a method run and sometime it doesn't is the
  sign of flakyness.
  The deprecation toolkit can't deal with that.

  This PR adds a way to mark a test as flaky so that the deprecations
  triggered by the test will be ignored.
  The syntax is like that:

  ```YAML
  my_test:
    - flaky: true
  ```
@Edouard-chin Edouard-chin merged commit 8dd82f5 into master Feb 27, 2019
@Edouard-chin Edouard-chin deleted the ec-flaky-test branch February 27, 2019 22:58
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems March 16, 2022 22:06 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant