Learn about Mocks and how they are similar to a phone tap -- we use TDD with MiniTest mocks to build a design for communication between an engineer and a conductor on a train. We then show RSpec mocks, and how to use RSpec mocks in a MiniTest. ...
The block review goes over some aspects of Ruby in a classic teaching method. We don't create an application this week. Instead, I try to formalize some of the aspects and techniques you've been seeing and using in the previous 5 weeks. If you'...
This week is a short video -- about 30 minutes long … if you've ever wondered the difference between TestUnit, MiniTest, and RSpec --- watch this week's videos!
We're starting the course off with a well-known game: Blackjack. It's a simple'ish game: 2 cards for the Dealer, 2 cards for the User with the option for more cards, if closest to 21 without going over wins. Of course, if you play blackjack, you ...
Create a Miles to Kilometers calculator using test driven design (TDD). First, we use the RSpec syntax and cover both .should and expect().to syntaxes. Then, we show the same process in MiniTest, and discover the two frameworks are not so diffe...
OK, so if you've heard of Ruby described as "powerful" it's because of the ability to change and morf itself at runtime. We call this "Meta Programming" and is pretty unique. This week, we delve into Meta Programming and try to create a Termina...
Create interactions between objects as the Zookeeper must figure out what the Pandas and Lions like to eat! Use mocking, stubbing, and TDD to determine what is correct.
Create a boxing match using TDD. This ambitious episode showcases Test Driven Design, mocking, stubbing, and all the 'ings you can think of! You end up creating a super-fight boxing match where you may win, but you'll be changed forever!
RT @mrjaba: JRuby 9000 is out and sounds amazing http://t.co/0mcm1BrZsD well done to @headius and the JRuby team!
23 Jul