Package fi.jumi.test.examples

Source Code of fi.jumi.test.examples.JumiSuite

// Copyright © 2011-2014, Esko Luontola <www.orfjackal.net>
// This software is released under the Apache License 2.0.
// The license text is at http://www.apache.org/licenses/LICENSE-2.0

package fi.jumi.test.examples;

import fi.jumi.launcher.JumiBootstrap;

public class JumiSuite {

    public static void main(String[] args) throws Exception {
        JumiBootstrap bootstrap = new JumiBootstrap();
        bootstrap.suite
                .addJvmOptions("-ea")
                .setIncludedTestsPattern("glob:com/example/**Test.class"); // uses Java 7 glob patterns
        bootstrap
                .enableDebugMode() // shows Jumi's internal messaging; can be useful for testing framework developers
                .setPassingTestsVisible(true) // shows full output from all tests, instead of just failing tests
                .runSuite();
    }
}
TOP

Related Classes of fi.jumi.test.examples.JumiSuite

TOP
Copyright © 2018 www.massapi.com. 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.