1

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?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Ander2
  • 5,569
  • 2
  • 23
  • 42

1 Answers1

1

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.

alecxe
  • 462,703
  • 120
  • 1,088
  • 1,195