Skip to content

Overkiz/expect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

BDD expect notation for LUA tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages