Gianfrancoalongi / APLUnit

APLUnit - a library to facilitate Unit Testing and Test Driven Development of code written in Dyalog APL, developed together with Morten Kromberg (CTO Dyalog Ltd)
7 stars 5 forks source link

When there are no tests - the test framework should report this. #14

Closed Gianfrancoalongi closed 11 years ago

Gianfrancoalongi commented 11 years ago

APLUnit crashes with a very ugly message if there are no tests found in the files.

Loaded: #.UT Loaded: #.ec NONCE ERROR execute_function[2] function←(⍕(⊃ut_data[1])),'.',⊃ut_data[2]

instead - it should report no tests found.

Gianfrancoalongi commented 11 years ago

Starting work on this now

Gianfrancoalongi commented 11 years ago

The same issue is related to not finding any test files in a directory

Gianfrancoalongi commented 11 years ago

When not finding tests in files, the output to screen will be

No test functions found

When not finding any test files in a directory, the output to the screen will be

No test files found