CFC-Servers / GLuaTest

An exciting and nimble unit testing framework for GLua projects
https://discord.gg/epJK9Xx3pc
GNU General Public License v3.0
51 stars 2 forks source link

Add "was" expectation prefix #38

Closed brandonsturgeon closed 1 year ago

brandonsturgeon commented 1 year ago

The goal here is to make some expectations "feel" better when writing them out.

e.g.

expect( func ).to.haveBeenCalled()

vs.

expect( func ).was.called()
brandonsturgeon commented 1 year ago

I've been using this locally for a few days now and feel comfortable releasing it to the main branch 👍