Permalink
Switch branches/tags
Nothing to show
Commits on Jul 22, 2008
  1. fixed log bug in incremental station

    stuarthalloway committed Jul 22, 2008
    improved readability of StationTest.groovy
Commits on Jul 21, 2008
  1. tdd solution project

    stuarthalloway committed Jul 21, 2008
Commits on Jul 20, 2008
  1. another BDD example

    stuarthalloway committed Jul 20, 2008
  2. tweaks before class:

    stuarthalloway committed Jul 20, 2008
    - 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. mocking lab cleanup

    stuarthalloway committed Jul 16, 2008
  2. cobertura solution

    stuarthalloway committed Jul 16, 2008
  3. jtestr examples

    stuarthalloway committed Jul 16, 2008
  4. README

    stuarthalloway committed Jul 16, 2008
    course outline
Commits on Jul 15, 2008
  1. going open source: standard LICENSE

    stuarthalloway committed Jul 15, 2008
    continuing to edit bibliography
Commits on Jul 13, 2008
  1. added a few more TestNG examples

    stuarthalloway committed Jul 13, 2008
    started course biblio
    removed dead files
  2. groovy lab solution

    stuarthalloway committed Jul 13, 2008
    README tweaks -- labs should not specify order within a course
  3. created groovy lab (before)

    stuarthalloway committed Jul 13, 2008
    finished removing day2 files
    all examples now live in examples
Commits on Jul 12, 2008
  1. Extracted a prettyTime method to DRY up formatting code.

    stuarthalloway committed Jul 12, 2008
    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. introduced Song class, which triggered several improvements

    stuarthalloway committed Jul 12, 2008
    - 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. Moved song initialization into iPod constructor

    stuarthalloway committed Jul 12, 2008
    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. Brought Ipod under a "characterization test." This test what the clas…

    stuarthalloway committed Jul 12, 2008
    …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. removed old learning examples

    stuarthalloway committed Jul 12, 2008
    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. added mocking lab

    stuarthalloway committed Jul 11, 2008
    mocking lab solution stub in examples (will flesh that out next)
  2. simplified build.xml

    stuarthalloway committed Jul 11, 2008
    removed some tests to lower coverage for the lab
  3. coverage lab setup working (barely)

    stuarthalloway committed Jul 11, 2008
    - need to simplify Ant script
    - remove a few test methods so that code coveage drops
  4. added cobertura

    stuarthalloway committed Jul 11, 2008