espec
espec copied to clipboard
ESpec: Behaviour driven development framework for Erlang
https://travis-ci.org/lucaspiller/espec/jobs/50981443#L107-L108 ``` spec/error_handling_spec.erl:165: no clause will ever match spec/error_handling_spec.erl:165: the guard for this clause evaluates to 'false' ```
Just found this, looks good. Fixes #11. Need to check through code more thoroughly and add specs.
I want to make a standalone binary so it is easier to use in other projects. I used `rebar escriptize` in c5f15ec5de2d4d5ed89743ab0432b19bd23f6956, which worked to generate a standalone binary, except...
E.g. ``` erlang before_all(fun() -> % {undefined_module, nonexistant_module} ok = meck:new(nonexistant_module, [passthrough]) end), ``` Probably also happens in `before_each`.
E.g. Finished in 4.2 seconds 10 succeeded, 5 pending, 2 failures
Possible related to the first answer mentioned on https://github.com/jimenezrick/vimerl/issues/7 Auto indenting ends up with: ``` spec() -> describe("beforespec", fun() -> it("should do stuff", fun() -> io:format("output from: it should do...
we should have a thing that just automatically unloads all the mechs you have defined in a before or in an example. for example ``` describe("foo", fun() -> before_each(fun() ->...