Hi all,
Wondering if anyone has an suggestions for headless django testing - any
configuration tips or links would be helpful.
My site is django 1.8 and we make extensive use of jquery on the frontend.
Using phantomjs driver with liveserver test hasn't worked out well.
--
You received this
How to Unit testing in django for django template
please any one help me???
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googleg
In general, you would request the page and inspect the rendered output.
https://docs.djangoproject.com/en/1.10/topics/testing/tools/#testing-responses
-James
On Wed, Oct 12, 2016 at 12:17 PM, wrote:
> How to Unit testing in django for django template
>
> please any one help me???
>
> --
>
Personally, I use lxml to check the presence of HTML element based on
xpath. Here is an exemple of how I do it:
from django.core.urlresolvers import reverse
from django.test import TestCase
from lxml import etree
class UserUrlTestCase(TestCase):
""" Test for the user app "
There's an old ticket [0] noting that startproject/app create files with
Unix line endings, even on WIndows. My question is whether or not this
matters. Some things I thought of:
I think version control programs like Git usually normalize line endings
anyway.
The proposed change only applies
On 13/10/2016 10:43 AM, Tim Graham wrote:
There's an old ticket [0] noting that startproject/app create files
with Unix line endings, even on WIndows. My question is whether or not
this matters. Some things I thought of:
I think version control programs like Git usually normalize line
endings
Hi,
In Linux you can just use selenium chrome or firefox or anything and set up
xfvb for headless, I have no idea if such a thing is possible in windows.
In either you can set up a selenium server so the machine running the tests
will connect remotely to the machine running the browser, you can e
There is also BuildBot which can be programmed to do anything on
multiple client/slaves running any OS
http://buildbot.net/
On 13/10/2016 1:09 PM, Avraham Serour wrote:
Hi,
In Linux you can just use selenium chrome or firefox or anything and
set up xfvb for headless, I have no idea if such a
8 matches
Mail list logo