Skip to content

Commit 8a7d4ee

Browse files
authored
Add note about using plunit_assert in the REPL
1 parent e81ce06 commit 8a7d4ee

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ PlUnit is a unit testing library for Prolog. Its goals are:
77
2. provide significantly more helpful and user-friendly feedback on test fail
88
3. full compatibility with PlUnit: you can still use `assertion/1` if you wish
99

10+
Whilst this wasn't an explicit design goal initially, another benefit of `plunit_asssert` is:
11+
12+
4. it can easily be leveraged by calling its test predicates directly within the Prolog REPL, which can be a trying experience with manual calls to `assertion/1`.
13+
14+
See this in action under [Examples](#Examples) below.
1015

1116
## API Documentation
1217

0 commit comments

Comments
 (0)