aviate-labs / testing.mo

Testing Framework for Motoko

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testing Framework for Motoko

Inspired by Mocha and Chai 🍡.

Example

# cd example
# $(vessel bin)/moc -r $(vessel sources) test/add.test.mo
$(vessel bin)/moc -r test/add.test.mo
πŸ“„ Add
  0. 🟒 add 2
  
  πŸ’¬ expected: 12, actual: 10
  1. πŸ›‘ oops...

🟒 1/2 | πŸ›‘ 1/2

Modules

Testify

A module to make a types test 'ready'.

About

Testing Framework for Motoko

License:Apache License 2.0


Languages

Language:Motoko 96.2%Language:Dhall 3.0%Language:Makefile 0.8%