aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/triq.asciidoc
blob: db69860057a3bc641e3aa9b8228a163d0bde4974 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[[triq]]
== Triq

https://triq.gitlab.io/[Triq] is a QuickCheck-like library for
property-based testing. Erlang.mk automates discovery and checking of
Triq properties.

To run all tests (including Triq):

[source,bash]
$ make tests

To run all tests and static checks (including Triq):

[source,bash]
$ make check

You can also run Triq separately:

[source,bash]
$ make triq

To check properties from a single module:

[source,bash]
$ make triq t=foo_tests

To check a single property:

[source,bash]
$ make triq t=foo_tests:bar