Acceptance tests now run with JUnit
This commit is contained in:
parent
4a91d197fd
commit
0eb8db36a8
|
@ -2,7 +2,6 @@
|
|||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="test"/>
|
||||
<classpathentry kind="src" path="acctest"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="java"/>
|
||||
|
@ -10,5 +9,6 @@
|
|||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||
<classpathentry kind="lib" path="lib/recursion.jar"/>
|
||||
<classpathentry kind="lib" path="fitnesse/fitnesse-standalone.jar"/>
|
||||
<classpathentry kind="output" path="build/classes"/>
|
||||
</classpath>
|
||||
|
|
|
@ -2,6 +2,7 @@ build/
|
|||
doc/
|
||||
FitNesseRoot/FitNesse/UserGuide/
|
||||
fitnesse/FitNesseRoot/files
|
||||
fitnesse/fitnesse-results
|
||||
jar/
|
||||
*.zip
|
||||
*.swp
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
Test
|
||||
---
|
||||
| import |
|
||||
| fixture |
|
||||
| import |
|
||||
| acceptance.fixture |
|
||||
|
||||
| script | lisp interpreter fixture |
|
||||
| reset |
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|LispInterpreter.SetUp||15:09:12 Thu, Mar 02, 2017|
|
||||
|LispInterpreter.MultipleMethodClosure||16:02:22 Wed, Mar 01, 2017|
|
||||
|LispInterpreter.SetUp||11:04:36 Wed, Mar 01, 2017|
|
||||
|LispInterpreter.LexicalClosures||12:10:13 Mon, Feb 27, 2017|
|
||||
|LispInterpreter.TestClosure||11:24:27 Mon, Feb 27, 2017|
|
||||
|LispInterpreter.TestOne||09:26:08 Fri, Feb 24, 2017|
|
||||
|
|
|
@ -40,7 +40,7 @@ public class ArgumentValidator {
|
|||
this.firstArgumentType = argumentType;
|
||||
this.trailingArgumentType = argumentType;
|
||||
}
|
||||
|
||||
|
||||
public void setFirstArgumentExcludedType(Class<? extends SExpression> argumentType) {
|
||||
this.excludedFirstArgumentType = argumentType;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ public class ArgumentValidator {
|
|||
public void setEveryArgumentExcludedType(Class<? extends SExpression> argumentType) {
|
||||
this.excludedFirstArgumentType = argumentType;
|
||||
this.excludedTrailingArgumentType = argumentType;
|
||||
}
|
||||
}
|
||||
|
||||
public void setMaximumNumberOfArguments(int maximumNumberOfArguments) {
|
||||
this.maximumNumberOfArguments = BigInteger.valueOf(maximumNumberOfArguments);
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
package acceptance;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import fitnesse.junit.FitNesseRunner;
|
||||
|
||||
@RunWith(FitNesseRunner.class)
|
||||
@FitNesseRunner.Suite("LispInterpreter")
|
||||
@FitNesseRunner.FitnesseDir("fitnesse")
|
||||
@FitNesseRunner.OutputDir("fitnesse/fitnesse-results")
|
||||
public class FitNesseRunnerTester {}
|
|
@ -1,4 +1,4 @@
|
|||
package fixture;
|
||||
package acceptance.fixture;
|
||||
|
||||
import java.io.*;
|
||||
|
Loading…
Reference in New Issue