Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVic G
Courses Plus Student 390 PointsWeb based Testing
Does testing in ruby on rails cover front end web testing? Ie, writing a automated tests that enables me to login to gmail.com, then click on compose, enter test and send email, click on drop down buttons, etc etc?
1 Answer
Nick Fuller
9,027 PointsYes and no. From a testing design standpoint you wouldn't want to do that. What if you had to run your tests offline? What happens, heaven forbid, gmail went down?
I'm confused by your test too. What software are you testing? gmail?
Vic G
Courses Plus Student 390 PointsVic G
Courses Plus Student 390 PointsHi Nick,
thanks for your response.
The context I am asking is where i am referring to a web based application, does RoR enable test automation to cover all scenarios? Bcos, unit testing only covers code not actual functionality. Ie, clicking on button, selecting drop down values, entering values in a text box. Unit testing wouldnt really tell you if this works as expected from the front end.
hope that context kind of helps you try to understand where i am coming from.