Why write tests for Rails apps?  

Unit tests are your friend. The sooner you make peace with the fact that your quality of life will drastically increase when you unit test your code, the better. Seriously.

This excerpt was taken from the official Rails documentation.

Remember, unit tests should be FIRST – fast, isolated, repeatable, self-verifying, and timely.

 
3
Kudos
 
3
Kudos

Now read this

The Seven Spiritual Laws of Success

The following notes were taken while reading The Seven Spiritual Laws of Success by Deepak Chopra. They reflect key takeaways and reminders from each chapter. The Law of Pure Potentiality Judge nothing that occurs. The Law of Giving Give... Continue →