acs-automated-testing

  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

rework acs::test::http interface to allow daisy chaining of requests. One can now specify "-last_reqest" to let a new http to continue with the same credentials (e.g. cookies) as the last request. The old interface based on "-user_id" continues to work

    • -6
    • +8
    ./tcl/test/acs-automated-testing-procs.tcl
improve user interface

don't mirror old version of package from tcllib, don't keep in the blueprint

acs::test::form_reply: add option "-remove" in analogy to "-update" to remove entries from the provided dict. This is necessary for web regression testing for

check boxes, where the application has to decuce from the fact, that a field is not transmitted, that a value has to be changed.