Course of Raku / Advanced / Testing and documentation 🆕 / Testing 🆕 / The Test module

Quiz — Testing

In the Test module, which function passes when a Boolean condition is true?

1ok
0is
0plan
0done-testing

ok takes a condition and passes when it is true. is compares an actual value with an expected one, plan states how many tests to expect, and done-testing ends the file and emits the plan.

Course navigation

The Test module   |   Comparisons and plans