acs-automated-testing-procs.tcl

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.