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 校验和:

e9ef6cf122620bfea820763fe5203f7205a8851c4da6f23afc989fc31f574fd7

下载总量 9,486

这个版本 3,742

许可:

需要的 Ruby 版本: >= 0

链接: