1.1.0 • Published 1 year ago

cleaner-ava v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Cleaner Ava

Runs ava but adds ability to retry, annotations so that the tests are picked up in github ci, and a helpful summary at the end with the test files that broke via github annotations

Note: The tests in this repo are intentionally failing to test failure github annotations.

Because github supports colors, this will also force ava to use colors (normally disabled because of CI=true)

Usage

cleaner-ava [cleaner-ava-options] [ava-options]

Options:
  --help              Show help                                        [boolean]
  --version           Show version number                              [boolean]
  --retryFlakyTests   Should we retry flaky tests?    [boolean] [default: false]
  --failOnFlakyTests  If a test fails, then passes, fail and indicate that a
                      test is flaky                   [boolean] [default: false]
  --summary           Print a summary of failed tests  [boolean] [default: true]
  --maxFlakyTests     How many failed tests until we decide it's not worth it to
                      attempt to retry?                    [number] [default: 5]

Screenshots

annotations on summary page colored output and test summaries in test errors on test files

Reporting Flaky Tests to Sentry

To report flaky tests to sentry, configure CLEANER_AVA_FLAKY_PROJECT_NAME and CLEANER_AVA_FLAKY_SENTRY_DSN environment variables.

1.1.0

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago