ionicsoft / vidon

A student project to create a video on demand web service. Will only host public-access content.
0 stars 1 forks source link

(WIP) Testing #44

Closed shadowskye13 closed 5 years ago

shadowskye13 commented 5 years ago

Building test cases to support functionality of site. Tests user cases as well as functional usage.

shadowskye13 commented 5 years ago

Test cases I created currently do not work. Cases appear to use correct statements, but click_on statements are unable to find various links. I suspect this has something to do with my configuration for capybara, gecko driver, and other files, but will need help in finding the problem.

Wyvernix commented 5 years ago

I found this interesting code coverage tool for rails called simplecov

Sample: image

It appears to work with existing tests and has very little setup. It runs in the background while the tests are being run and produces an html file as the results. It should be agnostic to testing framework so it doesn't matter if we use minitest, capybara or anything else for testing.

Links: