-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version adapter and test fixes #186
Version adapter and test fixes #186
Commits on Jul 20, 2024
-
- new adapter added to common_types that can read a version number, and optionally validate it against an integer, string or tuple(int, int, int) - applied this to all formats using version strings - fixed a bug where standard_format.game_model would ignore the name and version passed to it - fixed a bug where the bmssd tests wouldn't run
Configuration menu - View commit details
-
Copy full SHA for d715255 - Browse repository at this point
Copy the full SHA d715255View commit details -
- added parse/build of dread .bmdefs (standard format) - added functions to dread_data and samus_returns_data to get a list of all files ending in an extension - applied this change to all tests that were using list comp to do this already - fixed some tests that were only testing a subset of the total files
Configuration menu - View commit details
-
Copy full SHA for 9adc56f - Browse repository at this point
Copy the full SHA 9adc56fView commit details -
cleaned up some testing functions
- removed test_lib functions that operate on only files, since the FileTreeEditor can handle these - added a parse_build_compare_editor_parsed function that compares a parsed file to its rebuilt and reparsed contents - added/simplified some checks to skip missing files
Configuration menu - View commit details
-
Copy full SHA for 727a9ec - Browse repository at this point
Copy the full SHA 727a9ecView commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for dbc8554 - Browse repository at this point
Copy the full SHA dbc8554View commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c319b - Browse repository at this point
Copy the full SHA 45c319bView commit details -
added missing files to test files
- files are now checked against a list of files expected to be missing before a test is skipped - removed a duplicate bmmap test and changed test_minimap.py to test_bmmdef.py - test_pkg retains old behavior of not using FileTreeEditor
Configuration menu - View commit details
-
Copy full SHA for 2e843a6 - Browse repository at this point
Copy the full SHA 2e843a6View commit details
Commits on Jul 22, 2024
-
Missing files are no longer tested
- added an optional list[str] arg "exclusions" to all_files_ending_with - parametrized test args now use this field to exclude missing files from parametrization, resulting in no skipped tests
Configuration menu - View commit details
-
Copy full SHA for cdd84c7 - Browse repository at this point
Copy the full SHA cdd84c7View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for d0e1b68 - Browse repository at this point
Copy the full SHA d0e1b68View commit details