Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ruby Ruby Foundations Testing MiniTest

Web 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
Nick Fuller
9,027 Points

Yes 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?

Hi 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.