Question

I have a django site which uses gevent-socketio for a word game and I would like to automate the tests.

Since gevent-socketio implies user interaction and JavaScript actions I'm stuck in how to start writing tests.

Anyone can point me in the right direction?

Was it helpful?

Solution

Here are some referrals:

  • selenium. Basically, it's testing in a real browser that django can integrate with by the help of LiveServerTestCase.
  • mechanize - programmatic web-browsing. It's a very powerful tool, definitely worth looking. Note that it can "talk" to javascript.
  • sikuli - testing tool that works using screenshots. Very powerful too, but may be a bit too exotic in your case.

Hope that helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top