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:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.8.1 - August 11, 2014 (179.5 KB)
  2. 0.8 - August 11, 2014 (178.0 KB)
  3. 0.6 - August 11, 2014 (175.5 KB)

Runtime 相依性套件 (1):

newgem = 1.5.2

Development 相依性套件 (1):

hoe >= 2.3.3

作者:

  • Bobby Norton

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 9,620

這個版本 3,790

授權:

Ruby 版本需求: >= 0

相關連結: