SLUGSoc / website

Reimplementation of new site in Ruby on Rails
2 stars 1 forks source link

Go for 100% code coverage #16

Open boardfish opened 6 years ago

boardfish commented 6 years ago

Each model needs to be tested. Off the top of my head, we'd better check for things like releases only being created if they have a game and a platform, duplication, and other things.

boardfish commented 6 years ago

Current state: factory_bot is configured and ready to go. Branch for this is 16-create-test-suite-for-models. When running rspec at present, a lot of tests are skipped as they're not configured properly, and others fail due to changes I've made outside the standard scaffold mould. Next step for this issue will be to fix the existing tests.

boardfish commented 6 years ago

Current state: Everything's either pending or passing. In the coming weeks, I'll go for 100% code coverage as recorded by the coverage reports generated by SimpleCov.

boardfish commented 5 years ago

Haven't checked this in a long while. I'll look into it soon enough.