Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 731 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 731 Bytes

Expect - BDD expect notation for LUA tests

Widely inspired by chaijs, expect aims to bring the behavior-driven development “expect” notation to LUA tests.

expect(2 + 2).to.be.a('number').And.to.equal(4).but.Not.to.be.Nil()

Installation

You can install expect using LuaRocks with the command:

luarocks install expect

Usage

In order to use expect in your tests, look at the usage manual.

If you want to write a new plugin, look at the plugin manual.

Credits

Some parts of this projects are inspired/copied from: