Previously Marius Gedminas wrote: > Testing JavaScript is a bit harder. I've seen how people integrate > JavaScript *unit* tests into their py.test test suite, and I've used those > ideas to define a unittest.TestCase subclass that spawns a browser > window and drives it to run JsUnit-compatible test suites in Firefox or > MSIE (under WINE, no idea if it would work in a real Windows OS). This > is not, however, a real integration test involving a real browser and > your app.
Guido Wesdorp wrote a basic javascript emulator in Python which you can use to test javascript in webpages from your python tests. I haven't tried it, but at the concept is very interesting. Wichert. -- Wichert Akkerman <wich...@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---