Positive feedback in hidden tests?
1 回表示 (過去 30 日間)
古いコメントを表示
Is there some way to give positive feedback in hidden tests in Cody coursework? I would like to not only give a hint when a test fails (e.g. via the error message in the assert function), but to also display a comment for tests which are passed and have not found a way to do this.
I understand that the idea behind hidden tests is that the students should not see the tests, but it would still be helpful for them to know what the tests check both in the cases of fail and pass.
0 件のコメント
回答 (1 件)
Steven Lord
2017 年 6 月 7 日
In step 4 of the description of how to contribute problems in the Cody help page, the hidden test suite calls assert. If you have specified a message in your assert call (see the msg input on the documentation page) I expect it will show up in the test results.
参考
カテゴリ
Help Center および File Exchange で Communications Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!