CourseAdvisor / courseadvisor

Review and rate EPFL courses
http://courseadvisor.ch
15 stars 1 forks source link

Find a suitable testing system #89

Closed hmil closed 8 years ago

hmil commented 9 years ago

This is a "meta" issue to discuss possible testing solutions.

Needed:

Cool plus:

Overkill:

christophetd commented 9 years ago

I think CasperJS would be a great solution. It is focused on front-end testing and runs on PhantomJS which allows us to easily take screenshots. See official website and https://www.lullabot.com/articles/testing-the-front-end-with-casperjs for instance

hmil commented 9 years ago

91 provides a fine testing infrastructure. And has an integration test example.

Still need to write API test examples and to set up the visual verification thing (we may add a regular test case which does the screenshots but then we need to upload that somewhere from travis).

hmil commented 9 years ago

update: casperjs is not ideal for API testing, we should look for another framework. Also we need a way to authenticate test users if we want to write useful tests. see #92

hmil commented 8 years ago

That's set: