UnderminersTeam / UndertaleModTool

The most complete tool for modding, decompiling and unpacking Undertale (and other GameMaker games!)
GNU General Public License v3.0
1.19k stars 233 forks source link

Improve tests #1897

Closed luizzeroxis closed 4 weeks ago

luizzeroxis commented 3 months ago

Description

Basically I converted the MSTest tests to xunit tests, joined them all into one project since they are actually only testing the lib anyway.

Caveats

Tests don't work if you run them all at once, you have to run each individually. I think that's because some left overs from previous tests are still there, probably static fields. That's probably still better than what was there before. Some tests aren't passing but that's expected.

Notes

Hopefully this can be used as a starting point for new tests. I haven't changed the tests themselves, they might be outdated and wrong. Also the whole way the script tests work seem stupid.

github-actions[bot] commented 3 months ago

Download the artifacts for this pull request here:

GUI:

CLI: