diff --git a/tests/tester.nim b/tests/tester.nim index b84a620..6f7b549 100644 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -714,4 +714,25 @@ suite "multi": test "can develop package from git subdir": removeDir("nimble-test/multi") let args = ["develop", "-y", "https://github.com/nimble-test/multi?subdir=beta"] - check execNimble(args).exitCode == QuitSuccess \ No newline at end of file + check execNimble(args).exitCode == QuitSuccess + +suite "Module tests": + test "version": + cd "..": + check execCmdEx("nim c -r src/nimblepkg/version").exitCode == QuitSuccess + + test "reversedeps": + cd "..": + check execCmdEx("nim c -r src/nimblepkg/reversedeps").exitCode == QuitSuccess + + test "packageparser": + cd "..": + check execCmdEx("nim c -r src/nimblepkg/packageparser").exitCode == QuitSuccess + + test "packageinfo": + cd "..": + check execCmdEx("nim c -r src/nimblepkg/packageinfo").exitCode == QuitSuccess + + test "cli": + cd "..": + check execCmdEx("nim c -r src/nimblepkg/cli").exitCode == QuitSuccess \ No newline at end of file