GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Overkiz/expect: BDD expect notation for LUA tests

BranchesTags
Open more actions menu

Latest commit

 

History

25 Commits
25 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
doc
doc
 
 
expect
expect
 
 
spec
spec
 
 
.busted
.busted
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
expect-dev-1.rockspec
expect-dev-1.rockspec
 
 
expect.lua
expect.lua
 
 

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:

  • The NodeJS chaijs project: https://github.com/chaijs/chai
  • The LUA luassert project: https://github.com/lunarmodules/luassert

About

BDD expect notation for LUA tests

Resources

Readme
MIT license
Activity
Custom properties

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.