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 trialAlessandro Barbieri
3,053 PointsWhere can I learn about Rails tests?
Hey, I've learn how to develop Rails apps, but I'd love to know how to test them. Where can I find a course on how to test Rails applications? There was once a course, I remember, but I cannot find it anymore.
2 Answers
Ethan Rivas
9,979 PointsHi Alessandro,
I highly recommend you the RSpec gem for testing your Rails applications.
- You can find his source code here on GitHub: https://github.com/rspec/rspec-rails
- The official site: http://rspec.info/
I leave you here some links where you can find a little bit more of information about how to use this testing gem:
- https://semaphoreci.com/community/tutorials/getting-started-with-rspec
- https://www.tutorialspoint.com/rspec/
- https://code.tutsplus.com/tutorials/ruby-for-newbies-testing-with-rspec--net-21297
Hope this help you, happy coding!
Alessandro Barbieri
3,053 PointsThank you very much Ethan!