• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve debugging messages

improve spelling

  1. … 8 more files in changeset.
fix documentation

align documentation with implementation

Use ns_conn location as a simpler way to retrieve the test URL (and more robust e.g. when behind a https proxy)

Exclude callback contracts from proc test coverage list

Fix quoting, modify aa_export_vars so that now takes one argument, which is a list (many thanks to Nathan Coulter)

Add simple test suite for the 'coverage-procs' library

    • -0
    • +108
    ./test/acs-automated-testing-procs.tcl
Fix return error in proc

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.

  1. … 3 more files in changeset.
file coverage-procs.tcl was initially added on branch oacs-5-10.

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. … 9 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

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)

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"

  1. … 1 more file in changeset.
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
    ./test/acs-automated-testing-procs.tcl
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.

  1. … 2 more files in changeset.
Confirm email to handle cases where this is required

    • -0
    • +1
    ./test/acs-automated-testing-procs.tcl
Move email confirmation test in a proc, as some tests need to reuse this when we are configured to require verification

  1. … 1 more file in changeset.
Log at each redirect