Anon Archived Does Voat not unit test or is it just not included in the GitHub repo? (github.com)
submitted ago by 225485?
Posted by: 225485?
Posting time: 5.4 years ago on
Last edit time: never edited.
Archived on: 2/12/2017 1:51:00 AM
Views: 990
SCP: 19
20 upvotes, 1 downvotes (95% upvoted it)
Anon Archived Does Voat not unit test or is it just not included in the GitHub repo? (github.com)
submitted ago by 225485?
view the rest of the comments →
[–] mortimer ago
Skimming the source, it would be pretty hard to write retroactive tests for Voat. The forum even uses inline SQL instead of a simple database namespace that would let you stub out the database calls during testing.
Since this project started out as a sideproject for a guy to learn .NET (as opposed to a profitable company), tests are just not something I'd expect. And backfilling a project with tests is even harder than writing them in the first place.