@@ -0,0 +1,1201 @@
+package com.redhat.ceylon.compiler.js;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0A%0Aimport org.junit.AfterClass;%0Aimport org.junit.BeforeClass;%0Aimport org.junit.Test;%0A%0A/** To run this you need to execute the nodetest ant target first. */%0Apublic class RunJsTest %7B%0A%0A    static File tmpModules;%0A%0A    @BeforeClass%0A    public static void setup() throws IOException %7B%0A        tmpModules = File.createTempFile(%22ceylon%22, %22runjstest%22);%0A        tmpModules.delete();%0A        tmpModules.mkdir();%0A        File sub = new File(tmpModules, %22check/0.1%22);%0A        sub.mkdirs();%0A        File src = new File(%22build/test/modules/check/0.1%22);%0A        for (File f : src.listFiles()) %7B%0A            Stitcher.copyFile(f, new File(sub, f.getName()));%0A        %7D%0A    %7D%0A%0A    @Test%0A    public void testModuleLoading() throws Exception %7B%0A        CeylonRunJsTool runner = new CeylonRunJsTool();%0A        runner.setModuleVersion(%22misc/0.1%22);%0A        runner.setRun(%22test%22);%0A        runner.setRepositories(Arrays.asList(tmpModules.getAbsolutePath(), %22build/runtime%22, %22build/test/modules%22));%0A        runner.run();%0A    %7D%0A%0A    @AfterClass%0A    public static void cleanup() %7B%0A        tmpModules.delete();%0A    %7D%0A%7D%0A

Test for #83 (need to add print's to run js tool though)