I'm currently testing with vanilla SUnit and want to improve this a bit.
Do many of you test component with SeasideTesting (http://www.shaffer-consulting.com/david/Seaside/TestingComponents/TestingComponents.html)? How do you test when Javascript is involved? For some of my Ruby projects, I currently use Capybara-Webkit (which simulates a browser with QT webkit). Is there something similar in Smalltalk that I'm not aware of? Thanks! Francois -- http://tulipemoutarde.be BE: +32 (0)65 709 131 CA: +1 778 558 3225 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I use that test component a little. But I haven't tried the javascript stuff yet. However, it seems to indicate you can test some javascript/ajax stuff. read over section 7 and see if thats useful.
On Sun, Jan 8, 2012 at 1:09 PM, Francois Stephany <[hidden email]> wrote: I'm currently testing with vanilla SUnit and want to improve this a bit. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
SeasideTesting [1] in Squeak/Pharo works for simulated browser testing. The external browser testing (which allows to test your javascript as well) only works in the David's original Visualworks version.
If anybody wants to fix the port to Pharo/Squeak for that part, you are welcome. Mind that some stuff is already working but I have chosen another route: Webtester [2]. WebTester is a Smalltalk binding for Selenium RC [3]. Since a couple of months, I have been tampering with the development of a binding for Webdriver, which is the successor of Selenium RC. I do not have anything too concrete yet, but I think it's the most viable option for the future. If anybody is interested to help out, you're welcome too ;-) On 08 Jan 2012, at 22:16, Jon Paynter wrote: I use that test component a little. But I haven't tried the javascript stuff yet. However, it seems to indicate you can test some javascript/ajax stuff. read over section 7 and see if thats useful. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks guys. I'll have a look.
Johan, how webdriver is different than Selenium? How do interact with it? Thanks ! On 08/01/12 13:30, Johan Brichau wrote: > SeasideTesting [1] in Squeak/Pharo works for simulated browser testing. > The external browser testing (which allows to test your javascript as > well) only works in the David's original Visualworks version. > If anybody wants to fix the port to Pharo/Squeak for that part, you are > welcome. Mind that some stuff is already working but I have chosen > another route: Webtester [2]. WebTester is a Smalltalk binding for > Selenium RC [3]. > > Since a couple of months, I have been tampering with the development of > a binding for Webdriver, which is the successor of Selenium RC. I do not > have anything too concrete yet, but I think it's the most viable option > for the future. If anybody is interested to help out, you're welcome too ;-) > > [1] http://www.squeaksource.com/SeasideTesting > [2] http://www.squeaksource.com/WebTester/ > [3] http://seleniumhq.org/ > > On 08 Jan 2012, at 22:16, Jon Paynter wrote: > >> I use that test component a little. But I haven't tried the javascript >> stuff yet. However, it seems to indicate you can test some >> javascript/ajax stuff. read over section 7 and see if thats useful. >> >> On Sun, Jan 8, 2012 at 1:09 PM, Francois Stephany >> <[hidden email] <mailto:[hidden email]>> wrote: >> >> I'm currently testing with vanilla SUnit and want to improve this >> a bit. >> >> Do many of you test component with SeasideTesting >> (http://www.shaffer-__consulting.com/david/Seaside/__TestingComponents/__TestingComponents.html >> <http://www.shaffer-consulting.com/david/Seaside/TestingComponents/TestingComponents.html>)? >> >> >> How do you test when Javascript is involved? For some of my Ruby >> projects, I currently use Capybara-Webkit (which simulates a >> browser with QT webkit). Is there something similar in Smalltalk >> that I'm not aware of? >> >> Thanks! >> >> Francois >> >> -- >> http://tulipemoutarde.be <http://tulipemoutarde.be/> >> BE: +32 (0)65 709 131 >> CA: +1 778 558 3225 >> _________________________________________________ >> seaside mailing list >> [hidden email] >> <mailto:[hidden email]> >> http://lists.squeakfoundation.__org/cgi-bin/mailman/listinfo/__seaside >> <http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside> >> >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> <mailto:[hidden email]> >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- http://tulipemoutarde.be BE: +32 (0)65 709 131 CA: +1 778 558 3225 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by fstephany
On Jan 8, 2012, at 4:09 PM, Francois Stephany wrote:
Francois, As previously mentioned, the VisualWorks version of SeasideTesting supports testing applications "in browser" but currently under Firefox only. I use this extensively but I must admit that it is a bit temperamental and performance is mediocre. With those caveats I highly recommend it ;-) Getting things working under Squeak would be an hour's work but I lack motivation because there seems to be little community interest in SeasideTesting these days. For an alternative you might look at: which uses Selenium RC thereby relying on a larger community for developing the Javascript side of things. I'm guessing that you'll have fewer difficulties with this then with SeasideTesting but I've never used it myself. David _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks David, I'll have a look at all those options!
On 10/01/12 08:49, David Shaffer wrote: > > On Jan 8, 2012, at 4:09 PM, Francois Stephany wrote: > >> I'm currently testing with vanilla SUnit and want to improve this a bit. >> >> Do many of you test component with SeasideTesting >> (http://www.shaffer-consulting.com/david/Seaside/TestingComponents/TestingComponents.html)? >> >> >> How do you test when Javascript is involved? For some of my Ruby >> projects, I currently use Capybara-Webkit (which simulates a browser >> with QT webkit). Is there something similar in Smalltalk that I'm not >> aware of? >> > > > Francois, > > As previously mentioned, the VisualWorks version of SeasideTesting > supports testing applications "in browser" but currently under Firefox > only. I use this extensively but I must admit that it is a bit > temperamental and performance is mediocre. With those caveats I highly > recommend it ;-) Getting things working under Squeak would be an hour's > work but I lack motivation because there seems to be little community > interest in SeasideTesting these days. > > For an alternative you might look at: > > http://www.pharocasts.com/2010/08/web-application-testing-through.html > > which uses Selenium RC thereby relying on a larger community for > developing the Javascript side of things. I'm guessing that you'll have > fewer difficulties with this then with SeasideTesting but I've never > used it myself. > > David > > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- http://tulipemoutarde.be BE: +32 (0)65 709 131 CA: +1 778 558 3225 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |