Course of Raku / Advanced / Testing and documentation 🆕 / Testing 🆕 / Exercises

A first test

Problem

Using the Test module, write a single ok test that checks the string Raku has four characters, with the description Raku has four letters, and finish with done-testing.

Example

The program prints:

ok 1 - Raku has four letters
1..1

Solution

See the solution

Course navigation

Running tests   |   Solution: A first test