Closed machow closed 7 years ago
Many tests have the form
def test_test_has_columns_fail(): state = prepare_state({'a': [1,2,3]}, {}) with pytest.raises(TF): cr.test_has_columns(state)
For some of them, it would be useful to optionally view their feedback message. Could do this by doing something like
@pytest.mark.feedback def test_something(): ....
Then they can be viewed by running from command-line...
pytest -s -m "feedback" # plus some meta-parameter telling tests to print feedback
This is being done in https://github.com/datacamp/sqlwhat/tree/feature-speaker , so should be easy to extend
Many tests have the form
For some of them, it would be useful to optionally view their feedback message. Could do this by doing something like
Then they can be viewed by running from command-line...