Jump to content

ATK Testing

From NusaATK
Revision as of 11:42, 9 January 2008 by Boy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ATK supports Unit testing, for a basic introduction to creating testcases please see the howto: Writing_tests.

To test interaction with the database you can use the following two methods:

To test rights you can use the atkMockSecurityManager.
To fake a node you can use the atkMockNode.