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

TestNG listener `SoftAsserts` should ignore tests with "expectedExceptions" attribute #372

Closed
asolntsev opened this Issue Aug 9, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@asolntsev
Member

asolntsev commented Aug 9, 2016

TestNG listener SoftAsserts works incorrectly if there are some tests that expect exception:

@Test(expectedExceptions = ...)
public void myTest() {...}

asolntsev added a commit that referenced this issue Aug 9, 2016

don't run TestNG tests until they are fixed
currently SoftAsserts works incorrectly with @test(expectedExceptions = ...) - see issue #372

@asolntsev asolntsev added this to the 3.9.1 milestone Aug 26, 2016

@asolntsev asolntsev self-assigned this Aug 26, 2016

@asolntsev asolntsev changed the title from TestNG listener `SoftAsserts` works incorrectly to TestNG listener `SoftAsserts` should ignore tests with "expectedExceptions" attribute Aug 26, 2016

@asolntsev asolntsev closed this in 0a77ecd Aug 26, 2016

asolntsev added a commit that referenced this issue Aug 26, 2016

BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016

don't run TestNG tests until they are fixed
currently SoftAsserts works incorrectly with @test(expectedExceptions = ...) - see issue #372

BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016

BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016

BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment