Hi Ryan,
Testing is about proving that the code is fit for purpose.
Regression testing is about proving that the modified/new code does not impact on the existing code - which is what you are hinting at above.
One other thing to consider is if first name or last name is an empty string. You can do something like:
[first_name, middle_initial_with_period, last_name].reject(&:blank?) * ' '
This will reject all blank values.
I think you mean something like this:
[f, m, l].reject{|i| i.empty?}.compact.join(" ")
Yay Ruby. ^.^
Hello,
Great site and great coding! I would like to see a railscast on Rspec. Any plans for that?
David :)
I cannot get autotest to work on XP. I get error message "couldn't find HOME environment.." What should I add to the environment variable setting in Window?
I loved this one! <a href="http://www.strategya.com/">букмекерские конторы</a> I bookmarked your blog
Regression testing is about proving that the modified/new code does not impact on the existing code - which is what you are hinting at above.
It is a nice article,i appreciate it,i will keep it on my dashboad.
I just want to say the spirit is positive,but the content is simply.
Good post, I can’t say that I agree with everything that was said, but very good information overall:)






