Previous proposalDistributed Social Networking
Next proposalRESTFul services using Cornice and Pyramid with frontend
Test Driven Development with Ruby
Submitted by @yedhukrishnan (@yedhukrishnan) on Thursday, 21 January 2016
Technical level: Intermediate Status: Submitted
To make students familiar with the basics of the Ruby language and how to write Ruby code through TDD (Test-Driven Development).
In software development, test automation is the use of special software (other than the software being developed) to control the execution of tests and the comparison of actual outcomes with predicted outcomes.
As codebases evolve and become larger, for instance over 20000 lines of code, it becomes very difficult to rely on manual testing by a person each time to ensure the software works as expected when new functionality is added. This is where automated testing comes into play. We shall see how to write ‘code’ that tests code.
Test-driven development refers to a programming style involving three tightly interwoven activities: coding, testing and design (of code). TDD encourages a form of development in which the code evolves incrementally through the addition test cases. We intend to introduce and elaborate more on this practice through the RSpec library for Ruby.
- Basic programming knowledge in any language
- A laptop/desktop running Linux/MacOS
- Internet connection
Yedhu Krishnan and Jerry John Jacob are two product developers at Multunus Software Pvt Ltd, a private software consultancy in Bangalore. They have around 3 years of experience building web and mobile applications. Technologies they have used before include Ruby on Rails, Android, iOS, NodeJS, React, Clojure, among others.