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
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.
Description
After #625 was implemented methods that try to run some unsafe code now generates into tests like this:
We have several problems with this view:
@Disabled
annotationExpected behavior
Generated test should be improved. We can add little doc or even hyperlink to add permissions into correct file.
The text was updated successfully, but these errors were encountered: