tcunit / TcUnit

An unit testing framework for Beckhoff's TwinCAT 3
Other
271 stars 74 forks source link

Create Error Message for Test > MaxNumberOfTestsForEachTestSuite #128

Closed Beidendorfer closed 3 years ago

Beidendorfer commented 3 years ago

If there are more tests in a TestSuit than are set in the parameter list MaxNumberOfTestsForEachTestSuite (100) All tests above this limit will be marked as failed, but no error log will be issued.

It would be nice to have a log entry here that says "There are more tests than MaxNumberOfTestsForEachTestSuite, please change the value".

Example: No exact information why the tests failed (Reason: More Test(216) in a TestSuit than parameterized in MaxNumberOfTestsForEachTestSuite (100))

image

sagatowski commented 3 years ago

Good suggestion!

Beidendorfer commented 3 years ago

I added a solution in my PR #131

image

sagatowski commented 3 years ago

Solved in 26f40b4.