the-trash/the_comments

Happy-path acceptance test

Closed this issue · 2 comments

Damn this looks like a great project but it will fall apart quickly if you don't get some test coverage in place.

A good step 1 is to write a basic acceptance test that verifies happy path and ignores edge cases. Start by writing some narrative that describes what happens when someone comments on a typical blog post, then add it to spec/features/happy_path.rb. Even if it's just plain text and you don't implement the spec right away it will be good to have this in place, maybe someone else can help from there.

Nobody else is going to be able to do this, and the longer you wait the harder it will be.

Thanks for your advice! Tests coverage coming soon.

Few important tests added.
Gem works a I wish.

You can run tests on dummy app

https://github.com/the-teacher/the_comments/tree/master/spec/dummy_app