S-S-X / mineunit

Minetest core / engine libraries for regression tests
Other
10 stars 6 forks source link

Allow running in strict mode #64

Open S-S-X opened 2 years ago

S-S-X commented 2 years ago

Allow setting strict mode in configuration file.

When strict mode is enabled it should throw errors to fail tests immediately if:

Possibly could also allow types for strict mode, something like: strict = types,deprecated to throw error for type conversions and deprecated calls. strict = all to throw error on anything not considered accurate or completely valid.

Also link to #5

S-S-X commented 2 years ago

From closed duplicate #61

Option: lazy failure to allow continuing test case and make calls to deprecated functions fail test case after completion. This allows prioritizing other assertions and completion of whole test cases even with deprecated function calls but would still fail at the end.