bfrymire / crispy

Unit testing framework built in GML for GameMaker LTS 2022+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create option to silence duplicate outputs when using multiple asserts on a test

bfrymire opened this issue · comments

While it's generally best to have a single assertion testing a single function, there are times where it's advantageous having multiple assertions on a test. When multiple assertions are on a test, each assertion creates a log which is then output at the end of all the tests. This can create duplicate outputs for the same test and may be confusing for the user.

Create an option for the user to silence duplicate outputs for a single test in the event there is no error.