I use the Mojo::Pg example Blog
<https://github.com/kraih/mojo-pg/tree/master/examples/blog> as a
boilerplate for almost every app that I write.  It's soo awesome!  There's
only one thing that I feel is missing...  Unit tests.

I would *like* to do unit tests but I don't think I do them properly.  At
one point I was talking about using testing by making blog posts and then
checking that the blog post was created and visible on the website -- all
by UserAgent calls.  @jberger very kindly informed me that this wasn't such
a good way to unit test.  I was being *too* specific, I think.

So, what would a good and complete test suite look like for Mojo::Pg Blog?
I'd love to see this t/ getting added to the example Blog in the main Git
repo.

I'd be happy to write the tests (I think I'm OK at *writing* tests), if
someone could help with letting me know *what* should be tested.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to