Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some improvement for FlashDevelop :) 4 macroses for fast access to munit features #72

Open
Dukobpa3 opened this issue Oct 18, 2013 · 2 comments
Labels

Comments

@Dukobpa3
Copy link

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.

@elsassph
Copy link
Contributor

Nice - you may want to put quotes around the $(ProjectDir) in case it contains spaces.

@Dukobpa3
Copy link
Author

Neko run have some troubles with spaces, so I'm not sure it will help me:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants