liblcf icon indicating copy to clipboard operation
liblcf copied to clipboard

Jenkins - Automated testing of lcf parsers

Open mateofio opened this issue 7 years ago • 0 comments

We should use #242 it to setup an automated test suite with jenkins. This will enable us to make deep refactors to liblcf and have confidence we didn't break the world. The Parsing code is very delicate and complex.

I think it would work like this:

Collect a large sample of rm2k/3 games.

In Jenkins, for every game, test that that the following transforms produce identical results: * LDB -> LDB * LDB -> XML -> LDB * LDB -> XML -> XML

We should have test coverage containing LDB's built with all rm2k and rm2k3 release versions.

As a future step, we could also automate the Player testing rm2k/2k3 version detection with all of the games.

mateofio avatar Sep 30 '18 19:09 mateofio