• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make '::acs::test::login' public, as it is used in other packages. Fixes 'callgraph__bad_library_calls' test case

bug fix: do not swallow errors in "aa_run_with_teardown" when -rollback s activated

remove debug code

improve navigation structure (context bar) and actions labeling

the reousrce actions is not necessary, since rerun performs an automatic resources

  1. … 4 more files in changeset.
mark functions called only internally as private

  1. … 15 more files in changeset.
mark in log-file begin and end of test cases, support multiple msg arguments in aa_log (similar to ns_log)

make listing of tested procs more complete

  1. … 11 more files in changeset.
improve spelling

Fix proc name

move xowiki::test::get_url_from_location to automated testing

handle updaed query-handling in ns_parseurl

remoe dependency from file-storage tests to xowiki

  1. … 5 more files in changeset.
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

Fix var name

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

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.

  1. … 2 more files in changeset.
Remove extra colon

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

improve debugging messages

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)

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

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. … 4 more files in changeset.
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.