• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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

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

Add new parameter 'depth' deciding whether we want to follow redirects when testing a URL (default is we don't follow redirects as before)

improve spelling

  1. … 4 more files in changeset.
improve spelling

Provide a simply authority named "acs_testing" for creating test users during runs of the regression test.

Use this authority in ::acs::test::user::create to avoid problems with the default authority of the site.

  1. … 4 more files in changeset.
- add new api function "aa_section" to allow structuring of larger test cases

- generalize login during tests further. When "user_info" is provided

it can be used to either login via login credentials or directly

via user_id (next step: integrate config-option for test users, this

will allow pure web tests to run against a different server)

- extend regression test to cover new features

- bump version numbers to 5.10.0d7

  1. … 4 more files in changeset.
added cookie management by passing request dict as "-session" to next requests

- new webtest API calls:

::acs::test::login

::acs::test::logout

- transformed tclwebtest_example to webtest_example (not using twt)

  1. … 1 more file in changeset.
Allow to specify the URL which is used for regression

testing for cases, where it is hard to determine (when e.g. running

behind a proxy server)

Fix URL

allow as well testing via https

acs-automated testing:

- improve log entries of aa_true and aa_false

- new convenience method

acs::test::reply_has_status_code

- add the detail-link only when necessary

- include the email address properly

acs-automated testing:

- provide the ability to add detail urls to messages

- new convenince methods

acs::test::reply_contains

acs::test::reply_contains_no

  1. … 3 more files in changeset.
display testd URLs on testcases for web tests

  1. … 2 more files in changeset.
- move new testing function "visualize_control_chars" to the namespace ::acs::test

- new testing functions

acs::test::get_form and

acs::test::xpath::get_form

to get collected form info with more ease in test cases

- bump version info to 5.10.0d7

  1. … 1 more file in changeset.
Trim whitespace

move newly defined testing API (in OpenACS 5.10) to namespace acs::test

  1. … 9 more files in changeset.
make ::aa_test::form_reply and :aa_xpath::get_form_values from xowiki/testing available for all packages

bump version number to 5.10.0d5

  1. … 1 more file in changeset.
make automated-testing login more robust, i.e. working with a configured wild card ip address

  1. … 1 more file in changeset.
whitespace changes

since test case ids are only significant per package_key, record such pairs in procdoc data structure

make feedback from testruns nicer (remove redundant messages)

- use information from acs_testing in api-browser: provide link for

test cases.

- new function: api_add_to_proc_doc for updating apidoc information

from other packages

- bump version of acs-automated testing to 5.10.0d4 and

acs-api-browser to 5.10.0d2

- toc includelet:

* new flag: "-renderer" (default "")

specify an explicit renderer. This is an alternative to the

classic "rendering by style", where there style determines the renderer.

* new flag: "-include_in_foldertree" (default true)

it is now possible to avoid inclusion of all folder-tree element

in the standard folder tree. Default set for backwards

compatibility.

  1. … 5 more files in changeset.
Add missing doc in public api as pointed out by automated test

use address from driver_info

  1. … 1 more file in changeset.