@@ -0,0 +1,1619 @@
+// Copyright (c) 2016, SAS Institute Inc., Cary, NC, USA, All Rights Reserved%0Apackage com.sas.unravl.test;%0A%0Aimport com.sas.unravl.assertions.JUnitWrapper;%0A%0Aimport java.io.File;%0Aimport java.io.FilenameFilter;%0Aimport java.util.Arrays;%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.junit.runners.Parameterized;%0Aimport org.junit.runners.Parameterized.Parameter;%0Aimport org.junit.runners.Parameterized.Parameters;%0A%0A/**%0A * This test demonstrates how use JUnit @Parameterized to run%0A * scripts in a directory as individual JUnit tetss.%0A * Change the accept() function in the FilenameFilter to%0A * %3Cpre%3E%0A * return name.endsWith(%22.json%22) %7C%7C name.endsWith(%22.unravl%22);%0A * %3C/pre%3E%0A * %3Cp%3E%0A * to run all test scripts in the directory. This example%0A * just runs a couple, to make builds faser (Other tests%0A * run all scripts, and we don't want to duplicate them all.)%0A * %3Cp%3E%0A * @author sasdjb%0A */%0A@RunWith(Parameterized.class)%0Apublic class ParameterizedTests%0A%7B%0A    @Parameter%0A    public File scriptFile;%0A    %0A    @Parameters(name=%22%7B0%7D%22)%0A    public static List%3CFile%3E scripts() %7B%0A        File dir = new File(%22src/test/scripts%22);%0A        File scripts%5B%5D = dir.listFiles(new FilenameFilter() %7B%0A%0A            @Override%0A            public boolean accept(File dir, String name)%0A            %7B%0A                %0A                return name.equals(%22json-equals.json%22) %7C%7C name.equals(%22jsonPath.json%22);%0A            %7D%0A        %7D);%0A        return Arrays.asList(scripts);%0A    %7D%0A    %0A    @Test%0A    public void runScript() %7B%0A        JUnitWrapper.runScriptFiles(TestScripts.env(), scriptFile.getPath());%0A    %7D%0A%0A%7D%0A

Add example of JUnit parameterized tests