atlas tool: testing via mocking (#18588)
* atlas: refactoring * Atlas: do some basic testing via mocking
This commit is contained in:
parent
d4c3a09286
commit
664dbb6bfb
13 changed files with 387 additions and 58 deletions
13
tools/atlas/tests/ups.nimble
Normal file
13
tools/atlas/tests/ups.nimble
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
version = "0.0.2"
|
||||
author = "disruptek"
|
||||
description = "a package handler"
|
||||
license = "MIT"
|
||||
|
||||
requires "npeg >= 0.23.2 & < 1.0.0"
|
||||
requires "https://github.com/disruptek/testes >= 1.0.0 & < 2.0.0"
|
||||
|
||||
task test, "run tests":
|
||||
when defined(windows):
|
||||
exec "testes.cmd"
|
||||
else:
|
||||
exec findExe"testes"
|
||||
Loading…
Add table
Add a link
Reference in a new issue