Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 22, 2008
  1. Stuart Halloway

    fixed log bug in incremental station

    stuarthalloway authored
    improved readability of StationTest.groovy
Commits on Jul 21, 2008
  1. Stuart Halloway

    tdd solution project

    stuarthalloway authored
  2. Stuart Halloway
Commits on Jul 20, 2008
  1. Stuart Halloway
  2. Stuart Halloway
  3. Stuart Halloway

    another BDD example

    stuarthalloway authored
  4. Stuart Halloway
  5. Stuart Halloway

    tweaks before class:

    stuarthalloway authored
    - fixed OrderItem example (was missing code that moved into a lab)
    - renamed to index.html
    - added groovy to course menu
Commits on Jul 16, 2008
  1. Stuart Halloway
  2. Stuart Halloway
  3. Stuart Halloway
  4. Stuart Halloway

    mocking lab cleanup

    stuarthalloway authored
  5. Stuart Halloway
  6. Stuart Halloway
  7. Stuart Halloway

    cobertura solution

    stuarthalloway authored
  8. Stuart Halloway

    jtestr examples

    stuarthalloway authored
  9. Stuart Halloway

    README

    stuarthalloway authored
    course outline
Commits on Jul 15, 2008
  1. Stuart Halloway

    going open source: standard LICENSE

    stuarthalloway authored
    continuing to edit bibliography
Commits on Jul 13, 2008
  1. Stuart Halloway

    added a few more TestNG examples

    stuarthalloway authored
    started course biblio
    removed dead files
  2. Stuart Halloway

    groovy lab solution

    stuarthalloway authored
    README tweaks -- labs should not specify order within a course
  3. Stuart Halloway

    created groovy lab (before)

    stuarthalloway authored
    finished removing day2 files
    all examples now live in examples
Commits on Jul 12, 2008
  1. Stuart Halloway

    Extracted a prettyTime method to DRY up formatting code.

    stuarthalloway authored
    Noticed (and took) opportunity to eliminate another local variable in play().
    
    It turns out the that original code had a bug in the prettye printing of times,
    showing 10:1 instead of 10:01. Fixed this bug, which changed the expected value
    of the characterization test testConsoleOutput. In a prodution setting, this
    change would require additional investigation to make sure no client code is
    depending on the original (wrong) behavior.
  2. Stuart Halloway

    introduced Song class, which triggered several improvements

    stuarthalloway authored
    - song collection is documented by the type system
    - got rid of ugly casts
    - got rid of Integer wrappers
    - simplified play()
    - simplified totalDuration()
    
    If the original characterization test (testConsoleOutput) is doing its job, this 
    refactoring is behavior-neutral.
    
    This is a pretty agressive refactoring to make without new tests. Unless you are pretty 
    confident, you might want to write some additional unit tests during this step.
  3. Stuart Halloway

    Moved song initialization into iPod constructor

    stuarthalloway authored
    Moved totalDuration into an accessor
    
    Note that these changes are incremental and may be replaced by even better 
    refactorings soon. In particular song initialization will probably not 
    always be hard-coded.
  4. Stuart Halloway

    Brought Ipod under a "characterization test." This test what the clas…

    stuarthalloway authored
    …s does today,
    
    without trying to judge what the class should do. This test will allow us to 
    refactor without breaking existing behavior.
    
    Note that this is not a unit test, and takes a black box view of the entire code 
    under test. We will want more focused tests later.
    
    I generated the expected value by letting the test run once, then copying the 
    actual value that came out.
  5. Stuart Halloway

    removed old learning examples

    stuarthalloway authored
    created new learning example
    moved Ipod starter example into examples
      (before/after currently same: next step is to make after version better)
Commits on Jul 11, 2008
  1. Stuart Halloway
  2. Stuart Halloway

    added mocking lab

    stuarthalloway authored
    mocking lab solution stub in examples (will flesh that out next)
  3. Stuart Halloway

    simplified build.xml

    stuarthalloway authored
    removed some tests to lower coverage for the lab
  4. Stuart Halloway

    coverage lab setup working (barely)

    stuarthalloway authored
    - need to simplify Ant script
    - remove a few test methods so that code coveage drops
  5. Stuart Halloway

    added cobertura

    stuarthalloway authored
  6. Stuart Halloway
  7. Stuart Halloway
  8. Stuart Halloway
  9. Stuart Halloway
Something went wrong with that request. Please try again.