acs-automated-testing

  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add the global test proc coverage percentage to the 'automated-testing' admin/index page, and link it to the new 'proc-coverage' page

Remove duplicated property

Add package name to the coverage data

Replace completely the 'proc-coverage' page, using the new api and providing proc test coverage information for packages and system wide

Fix return error in proc

Simplify styles

Add missing public flag to proc

New test proc coverage library (proc-coverage) for the 'automated-testing' package:

- New proc 'aa::coverage::proc_covered_p', checks if a particular proc is covered by any automated test.

- New proc 'aa::coverage::proc_list', returns a list of procs, sistem wide or in a package, with their coverage status.

- New proc 'aa::coverage::proc_coverage', returns a summary of information (number of procs, number of covered procs, coverage percentage) about the coverage of the api of a package, or system wide.

- New proc 'aa::coverage::proc_coverage_level', returns a level value (high, medium, low...) for a particular percentage.

Also add new CSS file for the automated tests summary page, which should help reducing the inline styling in the package, and different styles for the proc coverage levels.

file coverage-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./tcl/coverage-procs.tcl
file tests.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tests.css
Remove unnecesary quoting

Add the proc test coverage of each package, and link the 'proc-coverage' page, lost and isolated for many years...

Add new proc 'aa_test::proc_coverage', which returns the percentage of proc test coverage on a particular package, or on the whole system

improve quoting (patch provided by Nathan Coulter)

improve spelling

  1. … 33 more files in changeset.
improve spelling

  1. … 5 more files in changeset.
don't write sensitive information into log files

Do not depend on XoTcl in the core

Use provided email only when a party exists, in all other cases keep the previous behavior (fixes automated tests)

improve code documentation and honor existing settings

deactivate style rule

Keep old behavior when we drill down to package

Extend UI allowing to select packages for which we want tests to be run

Extend aa_runseries proc to allow multiple package keys to be specified (goal is being able to select just the packages we want for testing)

bump version number to 5.10.0d13 to let other packages depend on new features

simplify the web testing interface for forms

Make requiring of a test package instance more generic: the plan is to use it in other contexts

  1. … 1 more file in changeset.
- add locale to ::acs::test::user::create (defaults to en_US)

- prefer "last_request" over "user_id"

automatically re-source the testfile when re-running a single test

user_id is supposed to come from auth::create_user