Section 37.4. Counts in Class Fixture


37.4. Counts in Class Fixture

As we saw in Chapter 7, a fit. Summary table reports on the results of running all the previous tables in a file. This table also reports the details of the input and report files when a FileRunner is used. The counts of right, wrong, and so on, are gathered in Fixture.

Class Fixture has the following public instance variables.

  • Map summary holds keyed information about the tests. This information is used by Summary to report on details of the tests. Fixture adds to it the run date and run elapsed time. When FileRunner is used, it includes the input file name, input updatelast modified date of the input fileand the output file name.

  • Counts counts holds the current counts of right, wrong, ignored, and exceptions. These counts are changed each time the corresponding methods in Fixture are called.



    Fit for Developing Software. Framework for Integrated Tests
    Fit for Developing Software: Framework for Integrated Tests
    ISBN: 0321269349
    EAN: 2147483647
    Year: 2005
    Pages: 331

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net