Index: openacs-4/packages/acs-core-docs/www/tutorial-debug.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-debug.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-core-docs/www/tutorial-debug.html 24 Jun 2003 03:58:11 -0000 1.2 +++ openacs-4/packages/acs-core-docs/www/tutorial-debug.html 28 Jun 2003 05:07:03 -0000 1.3 @@ -1,9 +1,9 @@ -Debugging and Automated Testing

Debugging and Automated Testing

Important

This section is a work in progress.

+Debugging and Automated Testing

Debugging and Automated Testing

Important

This section is a work in progress.

by Joel Aufrecht
OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff. -

Debugging

PostgreSQL.�You can work directly with the database to do debugging +

Debugging

PostgreSQL.�You can work directly with the database to do debugging steps like looking directly at tables and testing stored procedures. Start emacs. Type M-x sql-postgres. Press enter for @@ -19,10 +19,10 @@ ?�searches�backward�
/�searches�forward.�
����������

-

Manual testing

Make a list of basic tests to make sure it works

Test NumActionExpected Result
001Browse to the index page while not logged in and +

Manual testing

Make a list of basic tests to make sure it works

Test NumActionExpected Result
001Browse to the index page while not logged in and while one or more notes exist.No edit or delete or add links should appear.
002Browse to the index page while logged in. An Edit link should appear. Click on it. Fill out the form and click Submit.The text added in the form should be visible on the index page.

Other things to test: try to delete someone else's note. Try to delete your own note. Edit your own note. - Search for a note.

Write automated tests

(Forthcoming.)

View comments on this page at openacs.org
+ Search for a note.

Write automated tests

(Forthcoming.)

View comments on this page at openacs.org