Use busted for unit testing

This commit is contained in:
Adrian Perez de Castro
2016-07-03 22:25:31 +03:00
parent 4e9899dbb5
commit 76d137009b
4 changed files with 128 additions and 76 deletions

View File

@@ -12,9 +12,15 @@ before_install:
- hererocks here -r^ --$LUA
- export PATH=$PATH:$PWD/here/bin
- eval `luarocks path --bin`
install:
- lua -v
install:
- luarocks install luacov-coveralls
- luarocks install cluacov
- luarocks install busted
script:
- lua test/eventable.lua
- busted -c
after_success:
- luacov-coveralls