Ola Nilsson

Results 91 comments of Ola Nilsson

There is the (undoumented) `assume` macro, which does more or less the same as your `signal`command. It is not possible to use in `describe`, only in `it`. It should be...

This is actually documented in https://github.com/jorgenschaefer/emacs-buttercup/blob/master/docs/writing-tests.md#spies Trying to defines spies in before-all is supposed to cause an error. Does that not happen for you? You should also see #122 for...

What are you trying to achieve with the spy in `before-all`? If you want to preserve some sort of state across tests in a suite something like the code below...

I wont commit to accepting a PR until I've seen it:) I'm a bit hesitant to change how spies work. At the moment they will be reset - including call...

Hm, maybe #13 is also relevant here.

Buttercup doesn't work without lexical binding, this is documented in two places in doc/writing-tests.md. So a global error for disabled lexical binding seems more appropriate. Warning for dynamic variables used...

Thank you for a very thorough issue description. The problem I see with not running the rest of the `before-all`, `before-each`, test code, `after-each`, `after-all` is that cleanup code may...

Ah, I missed that in your original report. Do you think we should tie this to the same option as #188? If I understand you correctly that is what Jasmine...

What would you like to know? Could you give some examples of what problems you had and how a verbose flag would have helped you?