Skip to content

henry4k/lua-bdd4tap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lua-bdd4tap

A BDD wrapper for the lua-testmore.

#!/usr/bin/env lua
require 'Test.More'
local bdd = require 'test/bdd'
local describe = require 'test/bdd/describe'

describe('fizzbuzzer')
    :it('does things', function()
        -- try doing things here
    end)
    :it('is a slacker', function()
        todo('Implement lazyness')
        -- prove that fizzbuzzer is lazy as fuck
    end)
    :it('can\'t handle bloops', function()
        todo('Implement exception')
        -- test if bloops cause fizzbuzzer to fail
        error('Exception not implemented yet')
    end)

bdd.runTests()

Author

Licence

This is free and unencumbered public domain software.
For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

About

A BDD wrapper for the lua-testmore.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages