munit is a cross-platform unit testing framework for Haxe. Utilises metadata markup for test cases and includes tools for generating, compiling and running test cases from the command line.
Other
180
stars
56
forks
source link
Some improvement for FlashDevelop :) 4 macroses for fast access to munit features #72
init munit for current project(can't captured to FD output because need user input)
RunProcess|cmd.exe;/c cd $(ProjectDir) & haxelib run munit config
run all tests for current project (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit test -browser flashdevelop
add testCase for current opened file (type) (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit create -for $(TypPkgName)
run current opened TestCase (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit gen -filter $(TypPkgName) & munit test -browser flashdevelop
You can put macroses to your toolbar, add hotkey, icon etc.
I'm use it with hotkey.
init munit for current project(can't captured to FD output because need user input)
RunProcess|cmd.exe;/c cd $(ProjectDir) & haxelib run munit config
run all tests for current project (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit test -browser flashdevelop
add testCase for current opened file (type) (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit create -for $(TypPkgName)
run current opened TestCase (use FD output window)
RunProcessCaptured|$(SystemDir)\cmd.exe;/c cd $(ProjectDir) & haxelib run munit gen -filter $(TypPkgName) & munit test -browser flashdevelop
You can put macroses to your toolbar, add hotkey, icon etc. I'm use it with hotkey.