Here’s episode two in the series documenting my progress of creating a web framework from scratch in Ruby using only the standard libraries.

This is a code optimization video. I didn’t like the way I left the testing set up in the first episode. It was too cumbersome to run. Every time you ran the test runner it would run every single test. I moved test/test_runner.rb into exe/test, and allowed for parameters specifying the names of the tests to run.

The code for this episode can be viewed on Github here, and a diff between episode one and two can be viewed here.

comments powered by Disqus