-
Notifications
You must be signed in to change notification settings - Fork 383
feat(test-optimization): create final_status tag on test event for mocha #7844
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
Merged
cbasitodx
merged 17 commits into
master
from
sebas_conde/feat/create-final-status-tag-for-mocha
Apr 1, 2026
Merged
Changes from 4 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2582335
Implemented ci.job.url feature
cbasitodx 533d030
implemented final status tag for mocha framework
cbasitodx 8ebcbb9
removed debugging statements, fixed linting and fixed minor mistakes …
cbasitodx 70611ba
Merge branch 'master' into sebas_conde/feat/create-final-status-tag-f…
cbasitodx 8e0ef76
Apply suggestions from code review
cbasitodx b18e7e8
Added tests for tests with hooks and incorporated review comments
cbasitodx 1d51596
Added tests for tests with hooks and fixed edge cases
cbasitodx 42ad938
disabled tests are reported as skip regardless of ATF
cbasitodx f5159f2
Merge branch 'master' into sebas_conde/feat/create-final-status-tag-f…
cbasitodx 2a7d0a5
Merge branch 'master' into sebas_conde/feat/create-final-status-tag-f…
cbasitodx c168569
Added comments from review
cbasitodx b84b08e
Merge branch 'master' into sebas_conde/feat/create-final-status-tag-f…
cbasitodx 575a801
reviewd (manually) comments for testing file
cbasitodx 22a1024
fixed linting
cbasitodx 684d954
Merge branch 'master' into sebas_conde/feat/create-final-status-tag-f…
cbasitodx bf11b0e
Removed cucumber changes
cbasitodx 0e0d07b
Added test for manually skipped mocha tests
cbasitodx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| 'use strict' | ||
|
|
||
| const assert = require('assert') | ||
|
|
||
| describe('mocha-flaky', () => { | ||
| it('can retry failed tests', () => { | ||
| assert.strictEqual(1 + 2, 4) | ||
| }) | ||
| }) |
14 changes: 14 additions & 0 deletions
14
integration-tests/ci-visibility/mocha-flaky/flaky-passes.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| 'use strict' | ||
|
|
||
| const assert = require('assert') | ||
| let counter = 0 | ||
|
|
||
| describe('mocha-flaky', () => { | ||
| it('can retry flaky tests', () => { | ||
| assert.strictEqual(++counter, 2) | ||
| }) | ||
|
|
||
| it('will not retry passed tests', () => { | ||
| assert.ok(true) | ||
| }) | ||
| }) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.