Testbox Expectations

Use this skill when writing fluent expectations in TestBox using expect(), expectAll(), all built-in matchers (toBe, toBeTrue, toBeArray, toHaveKey, toThrow, toMatch, toBeBetween, toBeCloseTo, toInclude, etc.), the not operator (notToBe, notToBeEmpty, etc.), chaining multiple matchers on one expect(), creating custom matchers with addMatchers(), or using expectAll() over collections.

ColdBox 1cc1411 9.3 KB Updated

File contents

ColdBox/skills/tree/main/testbox/expectations commit 1cc1411bde

Frequently asked questions

npx skillmds@latest add coldbox/testbox-expectations