You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve sandbox-relative description in generated tests #782
Disabling tests is made in a bit different way in different test frameworks:
JUnit4 has only @Ignore("<comment>")
JUnit5 has @Disabled("<comment>")
TestNG has possibility to disable tests inside @Test( enabled=false ), there can be also description parameter inside, that Summaries is using. So need to render it once and correctly.
How these tests will be rendered when parameterization is on?
"This test fails.." is not a correct note. The test would pass if enabled.
"The test was not generated..." would be more clear. Or "The test generation stopped on unpermitted operation..."
Also it would be great to suggest the user to allow UTBot to generate and run the tests for these unsafe operations - @Markoutte 's idea.
Activity
alisevych commentedon Aug 24, 2022
@Markoutte @EgorkaKulikov
Could you please also consider the following:
Disabling tests is made in a bit different way in different test frameworks:
JUnit4 has only
@Ignore("<comment>")JUnit5 has
@Disabled("<comment>")TestNG has possibility to disable tests inside
@Test( enabled=false ), there can be also description parameter inside, that Summaries is using. So need to render it once and correctly.How these tests will be rendered when parameterization is on?
alisevych commentedon Aug 25, 2022
@Markoutte @EgorkaKulikov
Tested cases from previous comment - tests are rendered correctly.
alisevych commentedon Sep 26, 2022
"This test fails.." is not a correct note. The test would pass if enabled.
"The test was not generated..." would be more clear. Or "The test generation stopped on unpermitted operation..."
Also it would be great to suggest the user to allow UTBot to generate and run the tests for these unsafe operations - @Markoutte 's idea.