Package play.test.TestEngine

Examples of play.test.TestEngine.TestResults


        renderText("done");
    }

    public static void run(String test) {
        getFile("test-result").mkdir();
        TestResults results = TestEngine.run(test.substring(0, test.length() - 6));
        Map<String, Object> options = makeOptions(test, results);
        String result = load("LitmusTestRunner/results.html").render(options);
        File resultsFile = getFile("test-result/" + test + (results.passed ? ".passed" : ".failed") + ".html");
        writeContent(result, resultsFile);
        writeXmlOutput(options);
View Full Code Here

TOP

Related Classes of play.test.TestEngine.TestResults

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.