RubyGems Navigation menu

bobbyno-shubox 0.8.1

Test-driven learning is a way to master a programming language by writing unit tests around its API's. shubox lowers the barrier to entry for test-driven learning by providing a basic infrastructure in which to start coding: A directory structure, some classes and unit tests to get started, and a build script. shubox currently creates environments for Ruby and Java, but can easily be extended to any language that lends itself to unit testing. shubox is built on newgem, so extending the framework is as simple as creating new generator scripts. After installing shubox and generating a testing environment, you'll start off with some passing tests that exercise parts of the language's API. Write new learning tests, naming each method with the intent of the lesson, then write the code that makes a test pass. Can you complete the lesson again from memory? If not, you may need to study the concept more closely and implement the tests again. According to {a paper by Karpicke and Roediger}[http://psych.wustl.edu/memory/Roddy%20article%20PDF's/Karpicke_Roediger_2008_Science.pdf], "repeated retrieval practice led to greater than 150% improvements in long-term retention than studying alone. ...Although educators and psychologists often consider testing a neutral process that merely assesses the contents of memory, practicing retrieval during tests clearly produces more learning than additional encoding or study once an item has been recalled." shubox makes repeated testing easy by providing built-in test cleaners that delete your test implementations, while keeping comments and test names to express the intent of the test.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.8.1 - August 11, 2014 (180 KB)
  2. 0.8 - August 11, 2014 (178 KB)
  3. 0.6 - August 11, 2014 (176 KB)

Runtime Dependencies (1):

newgem = 1.5.2

Development Dependencies (1):

hoe >= 2.3.3

Authors:

  • Bobby Norton

SHA 256 checksum:

e9ef6cf122620bfea820763fe5203f7205a8851c4da6f23afc989fc31f574fd7

Total downloads 9,463

For this version 3,733

Licenses:

N/A

Required Ruby Version: >= 0

Links: