Skip to content

Commit

Permalink
Improve test docs according to suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
mk-mxp committed Feb 17, 2024
1 parent a550f18 commit a8dd192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/concept/lasagna/LasagnaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
* We use `assertEquals()` here for its loose type checking. We don't care if
* the student returns numeric strings or integers in this exercise.
*
* - Please use `assertSame()` whenever possible. Note reasons for exceptions.
* - Please use `assertSame()` whenever possible. Add a comment when it is not possible.
* - Use calls with named arguments only when the exercise supplies method stubs with argument names.
* These can help students to understand things, but can also be in the way of defining argument names
* the students wants (e.g. in their native language).
* the students want (e.g. in their native language).
* - Add @testdox with a useful test title, e.g. the task heading from `instructions.md`.
* The online editor shows that to students.
* - Add fail messages to assertions where helpful to tell students more than @testdox says.
Expand Down

0 comments on commit a8dd192

Please sign in to comment.