acs-automated-testing

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup after each individual test

Cleanup temporary XOTcl objects after test run

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
Fix null check

Fix '::acs::test::require_package_instance' query for cases when the site_node exists but no package is mounted

Improve contrast and readability on proc coverage cells

Fix var name

Make 'aa_log_result' return gracely if called outside a test.

improve spelling

  1. … 4 more files in changeset.
improve wording

Fix '::acs::test::set_user' for cases when 'address' is not an IP, but a hostname. The address, if not provided by the TestURL parameter, is parsed from 'ns_conn location', and in both cases it can be hostname instead of an IP. The 'address' is later compared against 'ns_conn peeraddr' in security proc's 'sec_handler', which is always an IP, preventing login on those cases. To avoid this, we try to resolve the address in advance.

Rename 'Se', the selenium driver, to '::acs::test::selenium::Se', and repack it into an ad_proc, deprecating the former one and adding the comments on the file proc doc.

Remove extra colon

Normalize proc naming during testcase population of the set p [string trimleft ::]

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)

Whitespace changes

Use 'api_proc_pretty_name' for generating the api-doc link for a proc

Include all enabled packages in the package view list of the automated-testing admin/index page

Move proc test coverage info to the already existing package view branch

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)

Whitespace cleanup

Expand width on package vew table

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

    • -0
    • +108
    ./tcl/test/acs-automated-testing-procs.tcl
Move the text color setting to the particular coverage level

Move styles into CSS