triq.asciidoc 530 B

12345678910111213141516171819202122232425262728293031
  1. [[triq]]
  2. == Triq
  3. https://triq.gitlab.io/[Triq] is a QuickCheck-like library for
  4. property-based testing. Erlang.mk automates discovery and checking of
  5. Triq properties.
  6. To run all tests (including Triq):
  7. [source,bash]
  8. $ make tests
  9. To run all tests and static checks (including Triq):
  10. [source,bash]
  11. $ make check
  12. You can also run Triq separately:
  13. [source,bash]
  14. $ make triq
  15. To check properties from a single module:
  16. [source,bash]
  17. $ make triq t=foo_tests
  18. To check a single property:
  19. [source,bash]
  20. $ make triq t=foo_tests:bar