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 trial

Design

Ila Gupta
Ila Gupta
5,147 Points

Front end web developing testing

I need to know information about what kind of testing is done on websites or working as frontend web development and what are the tools used. I am not able to find proper information elsewhere so if anybody could give me details about this would be helpful.

1 Answer

Today we live in a world where Front end testing became so much easier than what it used to be 4-5 years ago. I can highly recommend to use some of the amazing front end frameworks that you have got out there. I'll try to list a few for you

  • Karma

Karma is a Javascript test runner written by the guys behind AngularJS. The main goal for Karma is to bring a productive testing environment to developers. [http://karma-runner.github.io/0.13/index.html]

  • Mocha

Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. [https://mochajs.org/]

+PhantomCSS

PhantomCSS takes screenshots captured by CasperJS and compares them to baseline images using Resemble.js to test for rgb pixel differences. PhantomCSS then generates image diffs to help you find the cause. [https://github.com/Huddle/PhantomCSS]

And of course Chrome Developer Tools Enjoy:)

Ila Gupta
Ila Gupta
5,147 Points

Thanks for your answer. Could you also tell what tools or frameworks used to test other than Javascript based. I am new as a tester, have not much of knowledge that what kind of testing is required on a developed website.

Really appreciate your help.