acs-automated-testing

  • last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Streamline idiom

Prefer unset to array unset when the purpose is to delete the whole array

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

merge with missing files

  1. … 1454 more files in changeset.
merge from oacs-5-10

    • -7
    • +285
    ./tcl/test/acs-automated-testing-procs.tcl
  1. … 8085 more files in changeset.
bumped version number from development version to release version

  1. … 93 more files in changeset.
regenerated documentation

  1. … 437 more files in changeset.
improved spelling

  1. … 15 more files in changeset.
don't rely on silent catches

include warnings and bugs in summary line

Don't just crash when new NaviServer features are missing

New API call: aa_silence_log_entries

The new function silences expected messages in the system log. The

proc deactivates the specified severity levels during the code in the

last arguemnt is executed. After it has finished, the severity levels

are reset to their previous values.

The purpose of this function is to make test system log clean from

error messages and the like during the regression test, such it

contains only errors which have to be looked at.

    • -0
    • +1
    ./tcl/test/acs-automated-testing-procs.tcl
  1. … 4 more files in changeset.
Small upgrade for aa_testing reports

- added used memory and memory differences to before a test case Be

aware that this is the memory of the full process, differences can

be negative.

- cleanup after reporting errors (we have the leaked objects in the aa_log)

Added automated testing for resource leaks

- new API function "aa_check_leftovers": This function is typically

called automatically at the end of every test case in

"aa_run_testcase" but it also makes sense to call it manually in

between of test cases.

- set aa_test_end to private (see no reason why this was public)

- bumped to 5.10.1b2

    • -1
    • +2
    ./tcl/test/acs-automated-testing-procs.tcl
reduced verbosity

  1. … 1 more file in changeset.
Always use "--" in "dom parse" when document is interpolated

This is a safety measure to make sure that the document parsed is

never confused with an option, when the document starts with a "-". In

the best case, the error message provided by "dom parse" might be

misleading. This might be a problem for user contributed documents

(passed as variables, or return values from functions).

The double dash is supported in tdom since version 0.9.0.

  1. … 18 more files in changeset.
improve page title

The index page list not only the "system" test cases, but as well the

test cases from the application packages

improved test coverage

    • -2
    • +4
    ./tcl/test/acs-automated-testing-procs.tcl
  1. … 1 more file in changeset.
Fixed regression test and make more use of "aa_test_start" and "aa_test_end"

This change reduces the errors in the log file a lets run the

regression test (on my site) without reported errors as reported by

acs_kernel__server_startup_ok.

  1. … 3 more files in changeset.
mark the new aa_test* calls to be covered

    • -0
    • +3
    ./tcl/test/acs-automated-testing-procs.tcl
Provide an API to check/set/clear the state of the regression test

The new calls are:

- aa_test_running_p

- aa_test_start

- aa_test_end

  1. … 1 more file in changeset.
improved spelling

  1. … 14 more files in changeset.
Fix typo

After further consideration, ns_absoluteurl is actually sufficient to preform location header completion on its own and does not need a wrapper utility

  1. … 3 more files in changeset.
Introduce util::complete_location

This utility is meant to require the value of the Location header in an HTTP response to be completed vith the host coming from a reference complete URL, which is normally that of the redirected request.

It is intended for use in the context of HTTP client APIs, where we want to handle server responses affected by https://www.rfc-editor.org/rfc/rfc7231#section-7.1.2

  1. … 3 more files in changeset.
reduced number of external dependencies

fixed typo

Cleanup of external binaries: always use "util::which" to resolve binaries

Background: it is important to always use the same binaries of some

programs. This is important for security reasons, consistency, and

configurability (some operating systems have read-only file systems,

which might be on the path and should be avoided for some operations).

  1. … 3 more files in changeset.
improved spelling

  1. … 3 more files in changeset.
added summary line as well to the begin of the output table

Also exclude unchecked checkboxes, the same as radio buttons, from the dictb entries returned from reading the form

Fixes xowiki.create_form_with_form_instance automated test