acs-automated-testing-procs.tcl

  • last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge from oacs-5-10

    • -7
    • +285
    ./acs-automated-testing-procs.tcl
  1. … 8099 more files in changeset.
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.

  1. … 6 more files in changeset.
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 more files in changeset.
improved test coverage

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

Removed untested and unmaintained code

  1. … 4 more files in changeset.
Test optional external command dependencies

acs::test::visualize_control_chars

Claim additional coverage

Increase proc coverage

whitespace changes

  1. … 7 more files in changeset.
added new test cases for testing page contract filters

improve listing of test coverage

  1. … 17 more files in changeset.
make listing of tested procs more complete

  1. … 11 more files in changeset.
Add simple test suite for the 'coverage-procs' library

    • -0
    • +108
    ./acs-automated-testing-procs.tcl
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.
Confirm email to handle cases where this is required

Follow redirects in this test to accomodate e.g. the vanilla dotlrn installation scenario

fix name of tested proc

- 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)

    • -31
    • +35
    ./acs-automated-testing-procs.tcl
  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.
Fix backslashes

overwork test cases: moderinze tests, make tested api functions explicit

  1. … 8 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
If a test logs a user in it should log that user out. Particularly if it

then goes on to delete that user. Failure to do so screws up tests that

try to access the website, logically enough.

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

    • -148
    • +8
    ./acs-automated-testing-procs.tcl
  1. … 647 more files in changeset.
adding tclwebtest API in acs-automated-testing package. Adding a simple example test case.

    • -148
    • +8
    ./acs-automated-testing-procs.tcl
  1. … 1 more file in changeset.
adding a simple example tclwebtest test case that creates a test user and logs him in over HTTP, requests a web page, and then teardowns the user. In order to do this I copied over some procs from etc/install/tcl to tclwebtest-procs.tcl. The procs in etc/install/tcl should go away as we have tclwebtest fully integrated in acs-automated-testing

    • -0
    • +171
    ./acs-automated-testing-procs.tcl
  1. … 2 more files in changeset.