Hello lucy_dev,

I just started a new branch 'clownfish-test' with a rework of Lucy's test 
infrastructure. It's basically the same architecture that I used for the CFC 
tests.

The class Clownfish::Test::TestEngine incorporates the features of 
Lucy::Test::TestBatch but with pluggable output formats which use the abstract 
class Clownfish::Test::TestFormatter. Every test class now inherits from 
Clownfish::Test::TestBatch instead of being an inert class.

Lucy::Test::TestEngineLucy inherits from Clownfish::Test::TestEngine and 
populates a VArray with all the TestBatch classes. This makes it possible to 
lookup tests by name so we don't need Perl bindings for every single test class.

For now, I only ported a single test to the new layout. If there arent't any 
objections, I'll port the rest of the tests and switch to the new test 
infrastructure.

Nick

Reply via email to