Skip to content

Glossary: Dart Basics

expect

The test function that checks a value: expect(actual, matcher). If the check fails, the test stops and reports it.

Where the book teaches it

Related terms

matcherunit test