Re: Automating ReviewBoard testing with Selenium or some other tool?
Thanks for the feedback David. The reason I considered a test suite is when I upgraded to 2.0 on a sandbox, I ran into a problem caused, I think, by our custom authentication classes in backends.py. It surfaced when I tried to add a reviewer via the web app and I got an internal server error. The log indicated we were missing a query_users() method, which appears to be new in the 2.0 auth modules. It made me what other surprises might be in store :) Based on your experiences, I think I'll just script some canned, interactive session that I can run just to make sure I've exercised the basic functionality. Something like that would have exposed this problem. --Steve On Friday, July 10, 2015 at 12:28:04 PM UTC-7, David Trowbridge wrote: > > Steve, > > Once upon a time we used Selenium to test the UI, but it's a complicated > and fragile system and we ended up abandoning it. We've replaced it with > frontend unit tests which run in a browser using the jasmine framework. If > you're doing Review Board development using the devserver, you can run > these by navigating to /js-tests/ > > If you're just looking to verify an upgrade, I wouldn't worry with all > that. Our upgrades are pretty painless (except in the most unusual of > circumstances), and if you can open the Review Board site and interact with > it afterwards, everything went OK. We do of course recommend making backups > of things before you start the upgrade process. > > -David > > On Fri, Jul 10, 2015 at 11:53 AM, Steve > > wrote: > >> Hi everyone, >> >> Is anyone out there doing automated testing of ReviewBoard using >> Selenium, or some other tool? I'd be interested to know how well it's >> working and how difficult it was to set up. I'd really like to have an >> automated test suit in place for my move from 1.7.28 to 2.x, but I haven't >> written a web app test suite before and don't want to bite off more than I >> can chew. >> >> Thanks >> >> --Steve >> >> -- >> Supercharge your Review Board with Power Pack: >> https://www.reviewboard.org/powerpack/ >> Want us to host Review Board for you? Check out RBCommons: >> https://rbcommons.com/ >> Happy user? Let us know! https://www.reviewboard.org/users/ >> --- >> You received this message because you are subscribed to the Google Groups >> "reviewboard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to reviewboard...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Automating ReviewBoard testing with Selenium or some other tool?
Steve, Once upon a time we used Selenium to test the UI, but it's a complicated and fragile system and we ended up abandoning it. We've replaced it with frontend unit tests which run in a browser using the jasmine framework. If you're doing Review Board development using the devserver, you can run these by navigating to /js-tests/ If you're just looking to verify an upgrade, I wouldn't worry with all that. Our upgrades are pretty painless (except in the most unusual of circumstances), and if you can open the Review Board site and interact with it afterwards, everything went OK. We do of course recommend making backups of things before you start the upgrade process. -David On Fri, Jul 10, 2015 at 11:53 AM, Steve wrote: > Hi everyone, > > Is anyone out there doing automated testing of ReviewBoard using Selenium, > or some other tool? I'd be interested to know how well it's working and > how difficult it was to set up. I'd really like to have an automated test > suit in place for my move from 1.7.28 to 2.x, but I haven't written a web > app test suite before and don't want to bite off more than I can chew. > > Thanks > > --Steve > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to reviewboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Automating ReviewBoard testing with Selenium or some other tool?
Hi everyone, Is anyone out there doing automated testing of ReviewBoard using Selenium, or some other tool? I'd be interested to know how well it's working and how difficult it was to set up. I'd really like to have an automated test suit in place for my move from 1.7.28 to 2.x, but I haven't written a web app test suite before and don't want to bite off more than I can chew. Thanks --Steve -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.