public
Description: an attempt at BDD in erlang
Homepage:
Clone URL: git://github.com/da3mon/especial.git
da3mon (author)
Tue Nov 11 17:32:08 -0800 2008
commit  0b5dc51136646bf08d0ef3f03400b9c004c3a2b1
tree    bc82125d82911b6b788ffd3fdd8843796f0a1696
parent  e91e73cb006ebe8facf711d54873444381c4ecf2
name age message
file .gitignore Sat Oct 04 16:52:54 -0700 2008 cleanup. splitting erlang test apart from code. [da3mon mccormick]
file README.md Tue Nov 11 17:09:19 -0800 2008 it takes a string and list of expects. [da3mon]
file Rakefile Thu Oct 23 17:04:33 -0700 2008 adjusted rakefile [da3mon mccormick]
directory src/ Tue Nov 11 17:32:08 -0800 2008 it returns list of failure messages [da3mon]
directory test/ Tue Nov 11 17:32:08 -0800 2008 it returns list of failure messages [da3mon]
README.md

especial

it will be a BDD server for unit testing in erlang.

current status

especial is a WIP.

syntax

proposed syntax so far:

describe(Module, ItList).
it("does something", ExpectList).
expect(ExpectedValue) ! to(Matcher, ActualValue).

describe(Spec, self(), [
  it("expects things", [
    expect(4) ! to(equal, 4),
    expect(fun() -> something end) ! to(be_pid)
  ])
]).