In rails, what defines unit testing as opposed to other kinds of testing
Posted
by
junky
on Programmers
See other posts from Programmers
or by junky
Published on 2012-06-20T16:55:10Z
Indexed on
2012/06/20
21:23 UTC
Read the original article
Hit count: 457
Initially I thought this was simple: unit testing for models with other testing such as integration for controller and browser testing for views.
But more recently I've seen a lot of references to unit testing that doesn't seem to exactly follow this format.
Is it possible to have a unit test of a controller? Does that mean that just one method is called? What's the distinction? What does unit testing really means in my rails world?
© Programmers or respective owner