Changes between Version 33 and Version 34 of squeak_screencasts


Ignore:
Timestamp:
10/31/2012 11:01:14 PM (12 years ago)
Author:
willi.mueller
Comment:

Added test coverage screencast

Legend:

Unmodified
Added
Removed
Modified
  • squeak_screencasts

    v33 v34  
    304304[[Toggle(end)]][[attachment:Gemtools.ogg Download]]
    305305
    306 = Tests are your safety net - SUnit in action =
     306= Tests are your safety net =
     307
     308==  SUnit in action ==
    307309'''Description'''
    308310This video shows test driven development with SUnit. It shows how to use the
     
    344346For further information read chapter 7 "SUnit" in [http://squeakbyexample.org/ Squeak by Example]
    345347
     348== Test Coverage ==
     349'''Description'''
     350This video shows how to analyse the test coverage of a package. The test
     351coverage measures how many percent of a package's methods are called in its
     352tests.
     353
     354'''Video'''
     355[[Toggle(begin)]]
     356[[Video(mp4=attachment:test-coverage.mp4, poster=attachment:test-coverage.jpg,preload=none)]]
     357[[Toggle(end)]][[attachment:test-coverage.mp4 Download]]
     358
     359'''Preview'''
     360
     361[[Image(test-coverage.jpg, 300)]]
     362
     363=== Brief summary ===
     364Make sure a package exists which is named like the class category before a
     365dash. For example the class category is called "HowTo-SUnit" the package has to
     366be named "HowTo". You can add a package in the "Monticello Browser" which can
     367be found in "Tools".
     368
     369To run a test coverage analysis open the test runner, click "Run Coverage" and select the package.
     370After all tests are run you see a list of methods which aren't covered and the ratio of covered methods and all package's methods.
     371
    346372= Contributors =
    347373 * Eric Seckler