Re: [pytest-dev] document outlining added values

2018-12-04 Thread Sivan Grünberg
No worries mate! It's nice to see that my simple question brought attention to two very cool plugins that assist in moving, and thank you @Florian Bruhin for popping in :) Thank you for the from-the-field experience account that's even better than a boiler plate comparison write up! I'll forward

Re: [pytest-dev] document outlining added values

2018-12-04 Thread Craig de Stigter
Wow, I sure wish I'd found that earlier. I swear I'd been looking for this for years before I started writing my own :) That said, I've learned an awful lot by writing my own; I wouldn't have been able to do the GDAL conversion without writing that first. Sivan, I'm sorry for misinterpreting your

Re: [pytest-dev] document outlining added values

2018-12-04 Thread Florian Bruhin
On Tue, Dec 04, 2018 at 12:54:50AM +, Craig de Stigter wrote: > > gradually porting all tests > > Mostly-automated conversion is possible, so it doesn't have to be a gradual > process. > > I wrote a script which converts xunit-style assertions into pytest ones: > https://github.com/craigds/de

Re: [pytest-dev] document outlining added values

2018-12-03 Thread Sivan Grünberg
Yes, converting a django based project. On Tue, 4 Dec 2018 at 2:56 Craig de Stigter wrote: > Just after posting I re-read your post, and maybe I mis-read it the first > time. Are you referring to converting a django-based project, rather than > Django itself? > > On Tue, 4 Dec 2018 at 13:54 Crai

Re: [pytest-dev] document outlining added values

2018-12-03 Thread Craig de Stigter
Just after posting I re-read your post, and maybe I mis-read it the first time. Are you referring to converting a django-based project, rather than Django itself? On Tue, 4 Dec 2018 at 13:54 Craig de Stigter wrote: > > gradually porting all tests > > Mostly-automated conversion is possible, so i

Re: [pytest-dev] document outlining added values

2018-12-03 Thread Craig de Stigter
> gradually porting all tests Mostly-automated conversion is possible, so it doesn't have to be a gradual process. I wrote a script which converts xunit-style assertions into pytest ones: https://github.com/craigds/decrapify/blob/master/pytestify.py In the context of a large project port, my PR

[pytest-dev] document outlining added values

2018-12-03 Thread Sivan Grünberg
Hi All, A transcript from a conversation about considering porting django TestCase's to pytest: "Some counterpoints: - Tomorrow `some_other_test` will be the guideline and pytest will be passe - Why add a new dependency when you have something built in, _if it's good enough_ But all that is jus