STAMP-project / evosuite-ramp

Runtime test AMPlification (RAMP) implements novel features for automatic test generation. It is built on top of EvoSuite.
https://www.stamp-project.eu
GNU Lesser General Public License v3.0
0 stars 1 forks source link

Evosuite generates files outside of the target directory (maven) #5

Open vmassol opened 5 years ago

vmassol commented 5 years ago

Generated test:

    @Test(timeout = 4000)
    public void test24() throws Throwable
    {
        Format format0 = Format.getPrettyFormat();
        HTMLUtils.XWikiXMLOutputter hTMLUtils_XWikiXMLOutputter0 = new HTMLUtils.XWikiXMLOutputter(format0, true);
        MockFileWriter mockFileWriter0 = new MockFileWriter("C@YD#MV*");
        DocType docType0 = new DocType("path", "P$");
        hTMLUtils_XWikiXMLOutputter0.printDocType(mockFileWriter0, docType0);
        assertEquals("P$", docType0.getSystemID());
    }
Screenshot 2019-10-08 at 16 27 37

See also https://forum.xwiki.org/t/include-tests-generated-by-botsing-evosuite-in-our-build/5648/12

pderakhshanfar commented 5 years ago

This is something internal in EvoSuite. We only added a new feature to EvoSuite for model seeding, which is part of the search process. It needs a major engineering effort. It will be on our todo list. But it needs investigation and takes time.