FOSSMeet 2016

FOSSMeet is an annual event at NIT Calicut that brings together the Free and Open Source Community from around the country.

Test Driven Development with Ruby

Submitted by @yedhukrishnan (@yedhukrishnan) on Thursday, 21 January 2016

videocam_off
Technical level: Intermediate

Vote on this proposal

Login to vote

Total votes:  +3

Objective

To make students familiar with the basics of the Ruby language and how to write Ruby code through TDD (Test-Driven Development).

Description

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.

Requirements

  • Basic programming knowledge in any language
  • A laptop/desktop running Linux/MacOS
  • Internet connection

Speaker bio

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.

Comments

Login with Twitter or Google to leave a comment