/** * Create path constraints for all tests in a test suite * * @param testSuite */ private void createPathConstraints(TestSuiteChromosome testSuite) { for (TestChromosome test : testSuite.getTestChromosomes()) { updatePathConstraints(test); } calculateUncoveredBranches(); }
updatePathConstraints(newTestChromosome); calculateUncoveredBranches(); individual.addTest(newTest); updatePathConstraints(newTestChromosome); calculateUncoveredBranches(newTestChromosome); individual.addTest(newTest);