heynemann / pyvows

Python implementation of Vows.js

Home Page:http://pyvows.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@ignore decorator (and/or argument)

heynemann opened this issue · comments

  • For individual vows, a decorator: @ignore("because this test is not working")
  • For @Vows.batch, an argument: @Vows.batch(ignore_message="this test is not working")
  • Both should appear in the console like this:
WARNING
---------------

Context DoBazWithFooContext was ignored because "this test is not working".
Topic of context DoFooWithBarContext was ignored because "route is not working as expected".

+1

Instead of @Vows.batch, would it be okay to make it expect a Vows.Context? (Since all @Vows.batches are on Vows.Contexts anyway…)

I think I covered this with #118