DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

Unit test generation @compile-time #259

Closed FrancisBourre closed 6 years ago

FrancisBourre commented 6 years ago
//Recursive descriptors generation
var emu = new hex.unittest.runner.ExMachinaUnitCore();
emu.addListener( new hex.unittest.notifier.BrowserUnitTestNotifier() );
emu.addDescriptor( hex.unittest.runner.ClassDescriptorGenerator.generate( Suite ) );
emu.run();
//Recursive test execution generation
//It reuses previous data generation and adds on top of it test execution generation
var emu = hex.unittest.runner.TestGenerator.generate( Suite );
emu.addListener( new hex.unittest.notifier.BrowserUnitTestNotifier() );
emu.run();

Challenges:

FrancisBourre commented 6 years ago

Partly delivered in 0.34. See changelog.

FrancisBourre commented 6 years ago

Done.