Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

mozmill vs. windmill (ok, for testing a django app)

3 views
Skip to first unread message

Axel Hecht

unread,
Jan 3, 2009, 5:22:08 PM1/3/09
to
Yeah, this might be slightly off-topic, but still.

I'd like to write some tests for a django app of mine. I got some test
already, but now I'd like to view some webpages based on the fixtures I
have in a browser, and run some xpath tests.

I saw http://www.getwindmill.com/archives/313, which indicates that I
can use windmill, but I'm confused if I should just go for mozmill
directly, and what that would buy me. And I assume that that would load
fixtures for a TestCase, but I wonder if I guessed right.

And yes, there's a connection to moz in the end, my django app is the
one I talk about in
http://blog.mozilla.com/axel/2008/12/19/working-demo-waterfall-and-more/.

Axel

Mikeal Rogers

unread,
Jan 3, 2009, 5:32:19 PM1/3/09
to Axel Hecht, dev-q...@lists.mozilla.org
If you want mulit-browser support you'll need to go with windmill.

In windmill you are limited to the content space, so you can't access
any of the mozilla platform stuff you would want outside of content.
You can test multiple remote sites in a single windmill test, so if
you wanted to talk to another page you could certainly do that in
windmill.

I haven't written any code to bootstrap mozmill inside of the django
test framework like we do in windmill, so if you want that integration
it's only in windmill.

But, since you are already comfortable in the Mozilla platform space
you may find windmill a bit too restrictive and prefer to write
mozmill tests where you have much more raw access to the trusted space
and to the platform.

-Mikeal
mikeal...@gmail.com
mik...@mozilla.com
http://www.mikealrogers.com

> _______________________________________________
> dev-quality mailing list
> dev-q...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-quality

0 new messages