[TIP] py.test working with Django apps

Alfredo Deza alfredodeza at gmail.com
Thu Aug 18 16:34:04 PDT 2011


On Thu, Aug 18, 2011 at 3:52 AM, holger krekel <holger at merlinux.eu> wrote:
> Hey Alfredo!
>
> just barely back to internet space for a while.   Some people used Django
> and pytest, you may look into http://pypi.python.org/pypi/django-pytest/
> and https://github.com/buchuki/django-pytest .

Yep, tried those and they are both severely outdated and don't work out of the
box. I guess a lot more work needs to be done if I want to get this done :(

 As i am not using Django
> myself i am not sure how far those approaches lead.  I am willing to help
> if i can to build/improve the approaches, though.

Awesome, I will ping you if I come up with something.


>
> holger
>
> On Wed, Aug 17, 2011 at 17:57 -0400, Alfredo Deza wrote:
>> On Tue, Aug 16, 2011 at 3:49 PM, Alfredo Deza <alfredodeza at gmail.com> wrote:
>> > Hi,
>> >
>> > I am currently working with a big Django application that is in
>> > itself, composed of a lot of smaller apps that work together.
>> >
>> > We are thinking of using py.test but I am not sure what the best path
>> > to achieve a migration from Django's own test runner.
>> >
>> > There are a few plugins and packages available but some of them seem
>> > outdated [0] [1]
>> >
>> > Has anyone used py.test successfully with Django applications? What is
>> > the best option or recommended path to take?
>>
>> Where is Holger Krekel when you need him?
>>
>> Oh right, he is stuck in Modena, Italy - because his car broke down.
>>
>> :(
>>
>>
>> >
>> > Thanks!
>> >
>> >
>> > Alfredo
>> >
>> > [0] https://github.com/bfirsh/pytest_django
>> > [1] http://pypi.python.org/pypi/django-pytest/0.1.3
>> >
>>
>> _______________________________________________
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
>> http://lists.idyll.org/listinfo/testing-in-python
>>
>



More information about the testing-in-python mailing list