acs-automated-testing

  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Document public api

Streamline idiom

acs::test::visualize_control_chars

    • -0
    • +16
    ./tcl/test/acs-automated-testing-procs.tcl
Deprecate twt::user::create and twt::user::delete, superseded by their acs::test::user:: counterparts

  1. … 10 more files in changeset.
Claim additional coverage

    • -0
    • +1
    ./tcl/test/acs-automated-testing-procs.tcl
Deprecate twt::server_url, superseded by acs::test::url

  1. … 3 more files in changeset.
Centralize retrieval of the test URL

  1. … 5 more files in changeset.
Deprecate old api

Increase proc coverage

    • -0
    • +84
    ./tcl/test/acs-automated-testing-procs.tcl
Use faster idiom to tell if a string is only space

Improve acs::test::form_reply so that when the attributes of a file upload (*.tmpfile or *.content-type) are part of the update argument, it will switch automatically to a multipart request and implement a "real" file upload

This is important on newer NaviServer versions that will reject any *.tmpfile parameter in a request that was not produced internally after a file upload

  1. … 1 more file in changeset.
acs::test::user::delete: added flag -delete_created_acs_objects and fix regression test for file-storage

  1. … 2 more files in changeset.
For web interface testing, add authorization headers

The change eases testing of packages that are based on HTTP Basic

Authorization. When email and password are provided for the test user

if the HTTP request, an Authorization header is added now

automatically.

Bumped version number to 5.10.1d1

improve styling and take reliably just the first paragraph in the listing of test cases.

provide better error messages in case dom parsing fails during test

Fix the test, which was not actually reproducing the issue

in order to do so, I had to fix the behavior of acs::test::xpath::get_form_values: we should in fact NOT extract the value of disabled formfield, as a real browser will not send them in the POST request.

  1. … 1 more file in changeset.
differentiate between directly and indirectly covered API calls to make output pages easier to interprete

Do not consider unchecked radio buttons as form values, or when an unselected radio exists, the last value will might be picked

Fixes xowiki.create_form_with_form_instance, breaks xowf.create_test_items

fix release dates in .info files

  1. … 82 more files in changeset.
release work

  1. … 204 more files in changeset.
Add explicit level to uplevel occurrences

regenerated documentation

  1. … 465 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
improve spelling

  1. … 42 more files in changeset.
make spelling more consistent

- support var args for "aa_log_result" like for "ns_log" and "ad_log"

- make form parsing via xpath more robust

(don't assume, every INPUT has a name, allthough it should)

removed further "global" statments

Reduced number of "global" statements (which are often not used and probably leftovers from ancient times)

Comment command that won't be defined in upstream codebase

reduce redundancy in adp file