massive-oss / mcover

A cross platform code coverage framework for Haxe with testing and profiling applications. Supports AVM1, AVM2, JavaScript, C++, PHP and Neko.
Other
59 stars 9 forks source link

Issue migrating from NME to OpenFL #21

Open crayfellow opened 11 years ago

crayfellow commented 11 years ago

Hi guys, great work on the massive libs!

I have a build system (https://github.com/crayfellow/haxe-maven-plugin) that supports openfl and uses munit/mcover for testing. It insulates developers from having to install haxe, neko, nme, openfl, or any haxelibs into their local and allows them to centrally manage repositories using Maven.

I had testing and coverage working with NME, but now that I have migrated to openfl, when I enable code coverage I get the following error screen shot 2013-06-18 at 1 50 01 pm

if I dismiss or continue, the browser just hangs and never shows the test results. I do get test results when I disable coverage and just use munit.

This is using the haxelib version of mcover (2.0.3).

crayfellow commented 11 years ago

also, the macro call for mcover is as follows: --macro=mcover.MCover.coverage([''],['src'],[''])