-
Notifications
You must be signed in to change notification settings - Fork 250
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
Stryker fails when Jest has it.skip() tests #1152
Comments
Do you have a repository to reproduce this issue by any chance. That'll help us to more easily troubleshoot the situation. |
I can create one, but you just need to simply add a test with it.skip() and
expect(true).toBeTruthy() will show the issue.
…On Tue, Oct 2, 2018 at 12:29 AM Sander Koenders ***@***.***> wrote:
Do you have a repository to reproduce this issue bynany chance. That'll
help us to more easily resolve this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1152 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKuensHpUjIYM50HWOBhQ30Gyn_aXB2ks5uguuugaJpZM4WyTcO>
.
|
I was able to reproduce this issue with some random jest project I found online. I'll fix it tonight. |
ghost
assigned sanderkoenders
Oct 2, 2018
simondel
pushed a commit
that referenced
this issue
Oct 3, 2018
Implement `TestStatus.Skipped` for pending jest results so Stryker does not fail on the first testrun when tests are marked as `skip` Fixes #1152
ghost
removed
the
🔎 Needs review
label
Oct 3, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
In my test suite, I have a test that is marked to be skipped using the it.skip() syntax. When Stryker is analyzing this test, it determines that the test had initial test failures, where the skipped tests are not failures, but should be ignored.
Stryker config
Stryker environment
Your Environment
Add stryker.log
stryker.log
The text was updated successfully, but these errors were encountered: