Refactoring and many fixes to PR #378. (Broken)

This commit is broken due to a cleanup issue with NimScript eval.
This commit is contained in:
Dominik Picheta 2017-09-03 17:37:52 +01:00
commit 301a366dd2
18 changed files with 150 additions and 100 deletions

View file

@ -0,0 +1 @@
echo("overriden")

View file

@ -0,0 +1,9 @@
version = "0.1.0"
author = "John Doe"
description = "Nimble Test"
license = "BSD"
skipFiles = @["myTester.nim"]
task test, "Custom tester":
exec "nim c -r myTester.nim"

View file

@ -0,0 +1,4 @@
proc myFunc*() =
echo "Executing my func"

View file

@ -0,0 +1,4 @@
version = "0.1.0"
author = "John Doe"
description = "Nimble Test"
license = "BSD"

View file

@ -0,0 +1,6 @@
import testing123, unittest
test "can compile nimble":
echo "First test"
myFunc()

View file

@ -0,0 +1,6 @@
import testing123, unittest
test "can compile nimble":
echo "Failing Second test"
assert(false)

View file

@ -0,0 +1,7 @@
import testing123, unittest
test "can compile nimble":
echo "Third test"
myFunc()

View file

@ -0,0 +1,4 @@
proc myFunc*() =
echo "Executing my func"

View file

@ -0,0 +1,4 @@
version = "0.1.0"
author = "John Doe"
description = "Nimble Test"
license = "BSD"

View file

@ -0,0 +1,6 @@
import testing123, unittest
test "can compile nimble":
echo "First test"
myFunc()

View file

@ -0,0 +1,7 @@
import testing123, unittest
test "can compile nimble":
echo "Third test"
myFunc()

View file

@ -0,0 +1,7 @@
import testing123, unittest
test "can compile nimble":
echo "Second test"
myFunc()