espec icon indicating copy to clipboard operation
espec copied to clipboard

Elixir Behaviour Driven Development

Results 12 espec issues
Sort by recently updated
recently updated
newest added

It would be nice to be able watch for changes in the code and automatically run the respective tests.

I don't understand why you chose to use this for your syntax: `expect actual |> to(eq expected)` rather than this: `expect(actual).to.eq.(expected)` The second seems far more readable to me. Like,...

enhancement
help wanted

Is there an API or existing exhaustive documentation off the formatter options? Looking at the [hexdocs for `ESpec.Formatters.Doc` module][hex], `format_example`, `format_result` and `init` all appear to support options (through `opts`)...

[Elixir plans to include Property Based Testing in the future.][elixir-pbt] As such it would make sense to think about how to include it into ESpec. Elixir aims to merge [`stream_data`][stream_data]...

enhancement
help wanted

Hello @antonmi , what is the best way to run ExUnit tests with an app that also has espec files? I am trying to figure it out because I am...

It'd be nice to have the option to assert that a mocked function will be called in a defined timeout. `:meck.wait` supports it pretty directly, should be a good fit...

enhancement
help wanted

It would be useful to have a `fail_with` matcher similar to [RSpecs `fail_with`](http://www.rubydoc.info/gems/rspec-expectations/RSpec/Expectations.fail_with). Sometimes we have to write some more complex tests which expect certain underlying behaviour from the tested...

enhancement

It would awesome to have a functionality similar to the [ExUnit tags](https://hexdocs.pm/ex_unit/ExUnit.Case.html#module-log-capture). Especially for the suppression of the logs generated in the tests. ``` @tag :capture_log it "should forward the...

enhancement
help wanted