# $Id: TESTS_STATUS.pod 22213 2007-10-18 16:59:33Z paultcochrane $ =head1 Parrot Testing Status The primary goal of the Parrot testing effort is to provide complete coverage of the critical Parrot core subsystems on all targeted platforms. Secondary goals include testing of non-critical core subsystems, and non-core code. This document tracks the status of our effort. Until we have an automated way of quantitatively tracking test coverage, coverage will be tracked quantitatively, using the scale described below: =over 4 =item Poor Very little, or no coverage of a component. This status is completely unacceptable and should be remedied immediately. =item Fair Some coverage of basic component operation. Missing some subtests of basic operation, failure cases, and invalid input. Component functionality may only be tested on a subset of platforms that provide that functionality. =item Good Full or nearly-full coverage of basic component operation, failure cases, and invalid input. Tests are run on all platforms which allow component operation. Hard-to-test code is not yet well-covered. Some missing functionality is partially tested with failing B and B tests. =item Excellent Full coverage of basic component operation, failure cases, and invalid input on all platforms. Hard-to-test code is well-covered. Missing component functionality, including basic operation, failure cases, and invalid input is tested with failing B and B tests. =back =head2 Parrot Core Subsystems Below is a breakdown of the Parrot core subsystems, and a qualitative measure of testing status. =head3 Parser This module tokenizes the input. =over 4 =item Status B. There are tests for basic operation, however these tests are spread throughout the test suite, and are not comprehensive. We can assume basic operation is well-tested, otherwise the compiler, optimizer, and interpreter probably wouldn't work very well. Tests under B, and others. =back =head3 Compilers: IMCC, PGE, TGE =over 4 =item Status B. =back =head3 Optimizer This rearranges B code to make it run faster. =over 4 =item Status B. Most optimizations are well-tested. Tests under B. =back =head3 Interpreter This is the core of Parrot. It comprises the various runcores, input/output, threading, events, exceptions, objects, bytecode loader, etc. Test coverage of the Parrot Interpreter is critical. =over 4 =item Status B. A breakdown of Interpreter subsystems below lists individual status. =over 4 =item PMCs B. Each PMC file has a corresponding test file. Some PMCs are heavily undertested. Tests under B. =item Operators B. Most operators are well-tested. Tests under B. =item IO B. Tests exist, but do not run on all platforms, and do not test some important cases. Tests in B and B. =item Dynamic PMCs B. Some dynamic PMCs do not have test files. Coverage in existing test files is far from complete. Tests under B. =item Dynamic ops B. Only a few tests exist, and coverage of important test cases is weak. Tests under B. =item Packfiles B. All packfile tests have been skipped. Tests under B. =back =back =head3 Runtime Libraries and Includes =over 4 =item Status B. Some runtime libraries are tested, while others are not. No tests exist for include files. Tests under B. =back =head3 Configure Libraries =over 4 =item Status B. Tests exist, and the coverage is decent and improving. Tests under B. =back =head3 Test Libraries =over 4 =item Status B. Few tests exist, and coverage is poor. However, the test suite I to run fine, giving a false sense of security. =back =head3 Documentation =over 4 =item Status B. Opcode documentation is well-tested, and Pod files are checked for standards-conformance, but many documentation tests are missing. Tests under B. =back =head3 Coding standard =over 4 =item Status B. Tests under F. =back =head3 Examples and Benchmarks =over 4 =item Status B. Tests exist, and cover basic functionality of nearly all examples and benchmarks. Extensive testing of failures is not a priority. Tests under B and B. =back =head3 Tools =over 4 =item Status B. Few tests exist, and coverage is sparse. Tests under B. =back =cut