We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Example of generated test:
@Test(timeout = 4000) public void test00() throws Throwable { Document document0 = XMLUtils.createDOMDocument(); // Undeclared exception! try { XMLUtils.extractXML(document0, (-1164), (-1164)); fail("Expecting exception: RuntimeException"); } catch (RuntimeException e) { // // Failed to extract XML // } }
It would be nice to assert the exception message in the catch, as in:
} catch (RuntimeException e) { // // Failed to extract XML // assertEquals("Failed to extract XML", e.getMessage()); }
I noticed that you put the message in comment so you must have considered it would be a problem to add the assertion. Maybe make it optional at least?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example of generated test:
It would be nice to assert the exception message in the catch, as in:
I noticed that you put the message in comment so you must have considered it would be a problem to add the assertion. Maybe make it optional at least?
The text was updated successfully, but these errors were encountered: