JUnit Clojure测试运行器
允许您像这样从 JUnit 运行 Clojure 测试:
package com.fivetran.junit;
import com.fivetran.junit.TestNS;
import junit.framework.Test;
import org.junit.runner.RunWith;
import org.junit.runners.AllTests;
@RunWith(AllTests.class)
public class TestRunner {
    public static Test suite() {
        return TestNS.suites(\"com.fivetran.junit.example-spec\");
    }
}
您需要确保您的源代码和测试目录在类路径中,以便 Clojure 可以找到。
                            下载地址
                        
                    
                            用户评论
                        
                    