In the world of modern web applications and open source technologies there is a rising in popularity of using test driven development methodologies in software development. The main advantages of writing tests are easier error discovery, more effective development process, and consequently higher product quality.
This thesis describes common testing techniques and focuses on usage in Ruby on Rails framework, which has a vibrant open source community with a culture that strongly emphasizes the importance of testing. Thesis describes the introduction of test driven development into a real life project, explains the test automation procedure and how it associates with continuous integration.
With real life scenario cases we demonstrated how writing tests proved to be worthwhile and how testing prevented multiple errors which might cause business damage and loss of users in production environment.