acs-automated-testing

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Allow return inside test case without causing error message

Stubbing forgot to handle defaulted proc arguments correctly

Define test case procs private so they don't show up in the search

removing ACS and OpenACS prefixes from core package names as they weren't really conveying any useful information for system admins

  1. … 12 more files in changeset.
Cleaned up display

Got rid of local master, cleaned up context bar

Fixed bug: Could try to unset without setting first

- Make aa_*-assertion procs return true/false of whether the assertion passed, so you can use that to branch out on assertions, e.g. if { [aa_true "..." [info exists var]] } { aa_log "var is $var" }

- cleaning up the rollback stuff

Make aa_log_result postpone logging in order to prevent the log messages from being rolled back.

Removed old debugging log statements

  1. … 5 more files in changeset.
bugfix: forgot to reset the rollback tests global variable after a testcase. Removing debug printouts

adding support for rolling back test code with the proc aa_run_with_teardown

setting initial_install_p to t for acs-automated-testing to make it part of acs-core

making sure test cases (aa_register_case) can be put in -procs.tcl files. Giving failed tests more highlighting with red background and bold text

noquote changes (Dirk Gomez)

  1. … 51 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 100 more files in changeset.
In order to get Logger Tcl API tests to pass on 4.6 branch I had to add the new procs util_sets_equal_p and aa_run_with_teardown (previously added on cvs head)

  1. … 1 more file in changeset.
changing the file structure of acs-automated-testing tests as outlined in this post: http://openacs.org/forums/message-view?message_id=90563

    • -0
    • +142
    ./tcl/test/example-test-init.tcl
    • -142
    • +0
    ./tcl/test/example-test-procs.tcl
  1. … 17 more files in changeset.
adding the aa_run_with_teardown proc for guaranteed teardown in test cases. Moving nsv initialization to a new \-init.tcl file where it belongs

    • -0
    • +15
    ./tcl/aa-test-init.tcl
adding a link for re-sourcing a test init file on the testcase page so you don't have to restart the server when the test code has changed. We have been putting test case definitions in test_procs files and I think they should be moved to test_init files instead. The convention should be that procs files only contain ad_proc statements and only init files execute code.

    • -0
    • +16
    ./www/admin/init-file-resource.tcl
Partial conversion from timestamp to timestamptz for PG 7.3 (need to keep

time zone timestamps so dumps from PG 7.2 installs will still work)

  1. … 18 more files in changeset.
changing Oracle version from 8.1.7 to 8.1.6 as the query dispatcher will ignore queries with version number above 8.1.6

Making acs-automated-testing redirect to the admin pages as it has nothing in the user dir

changing Oracle version of xql files to be 8.1.6 so that the query dispatcher will accept them. Truncating test notes if they are too long for the column in db. Removing inline query in tcl file

Added coloring to alternate rows.

change supported oracle version to 8.1.6

adding a stack trace to tests that fail and moving the result column in the test case table to the left so it's easier to see the results

Added enabled_p flag, and upped version to 4.1

Moved the test example into the test directory.

    • -0
    • +142
    ./tcl/test/example-test-procs.tcl
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 688 more files in changeset.