All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mars.junit.MarsJunit Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
package com.mars.junit;

import com.mars.start.base.MarsJunitStart;
import com.mars.start.startmap.StartLoadList;

/**
 * junit
 */
public abstract class MarsJunit {

    /**
     * 加载项目启动的必要数据
     * @param packName
     */
    public void init(Class packName,String suffix){
        MarsJunitStart.setStartList(StartLoadList.initTestStartList());
        MarsJunitStart.start(null,packName,this,suffix);
    }

    /**
     * 加载项目启动的必要数据
     * @param packName
     */
    public void init(Class packName){
        init(packName,null);
    }

    /**
     * 单测开始前
     */
    public abstract void before();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy