ExUnitGWT - Given-When-Then (GWT) syntax for ExUnit

This library provides helpers for writing given-when-then style tests with ExUnit, common in ATDD and BDD.

Documentation here: https://hexdocs.pm/ex_unit_gwt
GitHub page here: https://github.com/svan-jansson/ex_unit_gwt

1 Like

I thought it will provide some more context to test, but it seems like bunch of passthroughs to regular functions. The same you can achieve with comments in your tests.

Yes, that is correct, for now. It’s “syntactic sugar”. I agree that it should provide more context in the output. I will try to add a formatter that achieves this. Thanks for the comment!

(I’ve opened an issue: https://github.com/svan-jansson/ex_unit_gwt/issues/1)