massive-oss / MassiveUnit

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
181 stars 56 forks source link

Node.js client #12

Closed dionjwa closed 4 years ago

dionjwa commented 12 years ago

I would be greatly interested in a Node.js client. It should be fairly straightforward, since it's a command line program.

I've looked at the code to do this myself, but it's not clear where I would specify the new client. Could you give me some pointers?

Dion

misprintt commented 12 years ago

Hi dionjwa,

It should be fairly straight forward, I've added some high level instructions to the wiki on adding new targets to both the unit testing framework and the commandline build tool:

dionjwa commented 12 years ago

Hi,

Thanks for the wiki support.

I've made quite a bit of progress, but I'm stuck on this error: ERROR: Local results server appeared to hang so test reporting was cancelled.

I'm guessing the generated nodejs script is not communicating with the neko server?

dionjwa commented 12 years ago

Actually, cancel that last error, I had to fix the massive.munit.util.Timer for Node.js

dionjwa commented 12 years ago

I'm admittedly a bit confused about getting (and debugging) the Node.js output. Traces don't work, I'm assuming trace is overridden by the RichPrintClient?