Re: [pytest-dev] pytest 5.0.0 and pluginmanager

2019-07-01 Thread Chris Dent
d some additional time, or people who are interested, I can try to do the work that will make the test generation my pytest-oriented, rather than the messy hack it is now. -- Chris Dent ٩◔̯◔۶ https://anticdent.org/ freenode: cdent__

Re: [pytest-dev] pytest 5.0.0 and pluginmanager

2019-07-01 Thread Chris Dent
On Mon, 1 Jul 2019, Bruno Oliveira wrote: On Mon, Jul 1, 2019 at 8:17 AM Chris Dent wrote: Is Gabbi + pytest a plugin? If so, you could store the config object during pytest_configure to reuse later: Thanks for the quick response. It's sort of a plugin. It uses plugin mechanisms to m

[pytest-dev] pytest 5.0.0 and pluginmanager

2019-07-01 Thread Chris Dent
/ and https://github.com/cdent/gabbi -- Chris Dent ٩◔̯◔۶ https://anticdent.org/ freenode: cdent___ pytest-dev mailing list pytest-dev@python.org https://mail.python.org/mailman/listinfo/pytest-dev

Re: [pytest-dev] preparing a set of breaking changes

2018-04-11 Thread Chris Dent
. All the fixtures, decorators, etc that we have now are nicely powerful and useful, but back when you couldn't do much in tests it meant that during TDD you couldn't do much in code either, and that was a great thing. /me raises a glass to yield tests, bon voyage -- Chris Dent

Re: [pytest-dev] process for replacing yield tests with modern style

2016-11-28 Thread Chris Dent
On Mon, 31 Oct 2016, Chris Dent wrote: On Fri, 28 Oct 2016, Chris Dent wrote: * questions when I get stuck with gabbi I've made some progress on this but I'm still not entirely satisfied with the solution. I've encapsulate the necessary changes in a pull request https://g

Re: [pytest-dev] process for replacing yield tests with modern style

2016-10-31 Thread Chris Dent
On Fri, 28 Oct 2016, Chris Dent wrote: On Sat, 22 Oct 2016, holger krekel wrote: So let's now get to your original example at https://github.com/tiddlyweb/tiddlyweb/blob/master/test/http_runner.py and that might be enough to increase my understanding so that I can deal with the conside

Re: [pytest-dev] process for replacing yield tests with modern style

2016-10-28 Thread Chris Dent
ef test_generic(test): ... haven't tested this -- does it work for you? I had to make some minor modifications and get the methods in the right files, but I was able to get something roughly working that once cleaned up will be okay. Thanks. -- Chris Dent ┬─┬ノ( º _ ºノ)

Re: [pytest-dev] process for replacing yield tests with modern style

2016-10-21 Thread Chris Dent
yield tests were my favorite thing about it. Super simple: push out functions that have assertions in them. That's what pytest was all about then, and it was _glorious_. In the intervening years things have become more complex. That's the nature of things. -- Chris Dent

[pytest-dev] process for replacing yield tests with modern style

2016-08-24 Thread Chris Dent
//docs.pytest.org/en/latest/example/nonpython.html#a-basic-example-for-specifying-tests-in-yaml-files -- Chris Dent ┬─┬ノ( º _ ºノ)https://anticdent.org/ freenode: cdent tw: @anticdent___