Sha256: e49710e35b22af59c1aa23f44eecdca0fdace97c457f23130fd647b7d071a040

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

Description:
    Begins Test-First Teaching exercises adapted from Chapter 11 of the RailsTutorial by Michael Hartl.

    It is assumed that this generator is run after the exercises for Chapter 10 and all prior ones have been completed, and the solutions are implemented.

    Successive chapters are expected to be run sequentially. Each chapter's generators comes with a delta
    to the next chapter, in two phase, the "begin" one will create tests, the "finish" one includes the solution files.
    If all tests pass, the "finish" phase is optional.

Example:
    rails generate chapter11:begin

    This copies new tests into the project, which are failing.
    The student's task is to write code to make the test pass. The material covered by the tests is consistent
    with Chapter 11 of the RailsTutorial, however adapted for Devise as authentication solution.

    When you're done, and all tests pass, or you just want to skip ahead, run:

    rails generate chapter10:solutions

    This will copy solutions files into the application tree. If you already have a solution file,
    you'll be prompted whether you want to overwrite your file, see the difference, or keep your file.


Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter11_3/begin/USAGE
tft_rails_dbc-0.1.1 lib/generators/chapter11_3/begin/USAGE
tft_rails_dbc-0.1 lib/generators/chapter11_3/begin/USAGE
tft_rails-0.6.2 lib/generators/chapter11_3/begin/USAGE
tft_rails-0.6.1 lib/generators/chapter11_3/begin/USAGE
tft_rails-0.6.0 lib/generators/chapter11/begin/USAGE