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

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

Projects

None yet

1 participant

@asolntsev
Member
asolntsev commented Aug 9, 2016 edited

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

@Test(expectedExceptions = ...)
public void myTest() {...}
@asolntsev asolntsev added a commit that referenced this issue Aug 9, 2016
@asolntsev asolntsev don't run TestNG tests until they are fixed
currently SoftAsserts works incorrectly with @Test(expectedExceptions = ...) - see issue #372
f392681
@asolntsev asolntsev added the lets do it label Aug 9, 2016
@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 asolntsev added a commit that referenced this issue Aug 26, 2016
@asolntsev asolntsev Closes #372 SoftAsserts listener should ignore tests with "expectedEx…
…ceptions" attribute
6f41094
@BorisOsipov BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016
@asolntsev @BorisOsipov asolntsev + BorisOsipov don't run TestNG tests until they are fixed
currently SoftAsserts works incorrectly with @Test(expectedExceptions = ...) - see issue #372
3ce7e6c
@BorisOsipov BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016
@asolntsev @BorisOsipov asolntsev + BorisOsipov #372 extract common code to superclass BaseTestNGTest 8095294
@BorisOsipov BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016
@asolntsev @BorisOsipov asolntsev + BorisOsipov Closes #372 SoftAsserts listener should ignore tests with "expectedEx…
…ceptions" attribute
0bb4265
@BorisOsipov BorisOsipov added a commit to BorisOsipov/selenide that referenced this issue Nov 23, 2016
@asolntsev @BorisOsipov asolntsev + BorisOsipov Closes #372 SoftAsserts listener should ignore tests with "expectedEx…
…ceptions" attribute
236b73e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment