Testing is so fundamental for software development nowadays that most languages include at least some basic testing capability in their standard libraries. This usually comes in the form of unit testing libraries: unit tests check how individual functions behave, what they return, and how they change the global or local state.
In the case of Perl 6, the standard testing library is simply called Test.