Closed alfredwesterveld closed 10 years ago
@alfredwesterveld do you have specific reason to not run the tests with node command? like:
node test
Wow azer you respond quickly. node test? I can run single test file using node
I'm not sure how to implement it, any examples ideas ?
I am going to look if I can implement this myself after I read your code. But what needs to happen is that I should be able to parse extra arguments which are not swallowed. Mocha also recently added this option because visionmedia(others) were also using harmony extensions(koa). I try to locate that commit.
let's keep the issue open until we solve the issue
https://github.com/alfredwesterveld/prova/commit/7b2b5e79ce97ae341afd64054a84eef04bd2cf7a is a quick fix so that I can use harmony by spawning a new process which got harmony arguments passed in.
I also fixed this another way(Just came up with this) which does not require any code change. I added the following to my .bashrc:
bash alias p='node --harmony /home/alfred/nodejs/node-v0.11.10-linux-x64/bin/prova'
now I use p
which points to your prova bin with added necessary flag.
I think this one can be closed now?
sure thx
Haha no thank you ;). Should have not opened this issue, but think it a little bit more through :$... On the other hand I hope other people might find this helpfull....
Could the prova binary be enhanced to use harmony (--harmony) like node --harmony