
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Introduction to the instructor and the course
Let's get the muscle memory working in the fingers by practicing some Ruby code
Guidance on how to use the Q & A interface and access the live help chatline. Also includes link to the accompanying documentation (steps and code) available for the course
This section is used to set up a development environment. Two options are provided using guided video for this, along with references to other options. If students already have a working Ruby environment, they can skip this entire section
Sign-up with cloud9 or codeanywhere for a free online integrated development environment which comes pre-installed with the tools we need
Get familiar with online IDE environments, covering both cloud9 and codeanywhere
Resource to use to setup local development environment (optional)
Install the popular testing framework RSpec and learn how to create specs
Introduction to Test Driven Development. Learn how to think from a testing perspective and use RSpec to design the flow of programs
Start project which builds a function that checks for if a word is a Palindrome
Complete the function to check for words being Palindromes
Learn about OOP and DRY (Don't Repeat Yourself) using a student class example
Learn how to refactor and group code using describe
Learn how to perform and test for Arithmetic functions
Learn and write specs for Strings
Continue exploration of Strings
Brief run-through of Hash and Arrays in Ruby known as collections
Preview of completed products project
Build a simple product inventory system using TDD and using OOP concepts
Complete the products inventory system with additional methods and next steps
Spec and the method implementation for the homework project from the last video
Learn about card, deck and hand classes and how to bring them together to build a blackjack game
Blackjack is a very popular game and lots of video demos are present for familiarizing yourself with the rules if you are not familiar. For our implementation we will use some rules which we will define here
Develop specs for and then implement the card class, this will be one of the primary building blocks for a card game
Think about and set up decks of cards
Create a working Deck class
Making the deck usable, using a runner and ensuring execution flows correctly
Start building a hand, which consists of multiple cards and dealt
Design a mechanism to calculate the value of hands dealt
Learn how to use cleaner and more compressed code to complete the hand class
We will use what we built in the last section and put them together in a blackjack class with spec and runner files in this section
Setup project spec, shell methods and constructor
Implement dealing out hands for player/dealer to start the game
Implement the hit function for the gamers
Implement the stand function for gamers
Implement the show hands feature so the contents of the hands can be displayed
Implement the set results function to determine and display the winner of the game
Complete modification of the runner to ensure smooth execution of the game and test results
During implementation, one flaw was discovered with the display of value of a hand when an ace is present and face down ('show' is false). This is a project to resolve the issue
Solution to project where hand value is displayed incorrectly when 'show' is off for an Ace
Thank you for taking the course!
Programming and web application development with Ruby and Ruby on Rails is on fire, they are some of the hottest skill-sets you can have in the booming tech industry and you can master it - beginner to expert - right here in this course series.
I'm Mashrur, creator of the best selling Ruby on Rails courses here in Udemy and I specialize in training Ruby, Ruby on Rails, RSpec, MySQL and so on. I absolutely love sharing my development secrets with my you!
I build each and every course with you in mind. With feedback from previous courses and incorporating the latest and hottest technologies out there - I strive to make each new course better than the last so students have the best learning experience ever.
This is volume 1 of the Test Driven Development Course and will help you master spec creation with RSpec as you build beautiful, error-free applications with Ruby, one of the easiest and most developer friendly programming languages out there.
You'll learn how to take bigger, complex problems and turn them into bite-sized pieces so development becomes as easy as watching TV (well not quite that easy, but you get the picture). There has never been a time where building fun, practical, efficient applications was this easy. Don't take my word for it - check out the free preview video for the final project built in the course!
Become a development Jedi and go from beginner to advanced in this easy to follow course built solely with you, the student, in mind. It's jam packed with quizzes, coding exercises and practice tests to ensure you learn the material which is presented and are able to retain and re-use it at your will.
You will get full, responsive support for all your questions in the Question and Answer section of the course. You will also have free access to the live chat support where you can interact with other Ruby on Rails developers, current and past students, Teaching Assistants and myself from time to time as well. This course is truly there to support you in your development journey, no matter where you are in it.