You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in the bit perfect issues we need a regression test. This allows major refactorings without being afraid to break games :).
I don't want to bloat the repo with too many binary files, the testrunner could accept a custom directory for execution but there should be at least files of any type in the repo to have minimal test coverage.
As a generic unit test we could maybe add the following files to liblcf: (LDB, LMT, Map0001.LMU, one savegame per project).
Test data could even be in a separate repo. I wouldn't want to pollute liblcf with game data either. At a minimum what you suggest might be ok. Or even a carefully crafted minimal set of LDB,LMT,LMU,LSD that exercise all of the edge cases.
I'd also be fine with having all of the test code, scripts, directory structure infra etc.. in the repo and require people wanting to run it to get the games from some other source and just drop them in the right place to run the scripts.
A full test of liblcf is always going to require a large repo of games. But they could be just stored somewhere manually on the jenkins server for automated testing.
Activity
mateofio commentedon Oct 30, 2018
Test data could even be in a separate repo. I wouldn't want to pollute liblcf with game data either. At a minimum what you suggest might be ok. Or even a carefully crafted minimal set of LDB,LMT,LMU,LSD that exercise all of the edge cases.
I'd also be fine with having all of the test code, scripts, directory structure infra etc.. in the repo and require people wanting to run it to get the games from some other source and just drop them in the right place to run the scripts.
A full test of liblcf is always going to require a large repo of games. But they could be just stored somewhere manually on the jenkins server for automated testing.
carstene1ns commentedon Oct 30, 2018
...because these should be bit perfect now, we could also generate the "New Project" ones by code and do some checksum tests.