System Tests Available in Version 1.6

From Joomla! Documentation
Revision as of 15:08, 28 April 2010 by Kenlyle (Talk | contribs)

Jump to: navigation, search

Contents

Current Tests Available

TestSuite.php

found at tests\system\suite

  • A compilation of the below tests.

articles

article0001Test.php

found in tests\system\suite\articles

  • Tests publishing and un-publishing the article "Designers and Developers".

com_users

user0001Test.php

found in tests\system\suite\com_users

  • Tests creating and deleting a user.

control_panel

control_panel0001Test.php

found in< code>tests\system\suite\control_panel

  • Checks that the Administrative menu options are available.

control_panel0002Test.php

found in tests\system\suite\control_panel Checks the availability of toolbar functions (i.e. New, Edit, Publish ...etc)

control_panel0003Test.php

found in tests\system\suite\control_panel

  • Test the creation and deletion of an article.

control_panel0004Test.php

found in tests\system\suite\control_panel

  • Test the creation and deletion of a category.

control_panel0005Test.php

found in tests\system\suite\control_panel

  • Similar to control_panel0001Test.php, but only checks that the top level of the Administrative enu options are available.

Menus

menu0001Test.php

found at tests\system\suite\menu

  • Test adding a new menu, new menu item to the new menu, creating an article to associate with that new menu item, then deleting and verifying the deletion of those items.

modules

module0001Test.php

found in tests\system\suite\module

  • Test un-publishing and publishing the login form.

sample data

sample_data0001Test.php

found in tests\system\suite\sample_data

  • Basic test of the included sample data.

Test to create

ACL Tests

Note that some of these features may not work at the present time in version 1.6. If that is the case, then please post results on the CMS list.

Create & Edit Permissions

These tests will test ACL in the back and front end. For example, create a new category with restricted permissions and then create a user who can create or edit articles in the new category. Then create a user who cannot create or edit articles in the new category. Log into back end as each user and verify that the permissions are correct.

Similar tests for other components, such as contacts, banners, weblinks, and so on.

May I propose a test case of Groups and Content?

NorthEast

 Mid-Atlantic
   Pennsylvania
   New York

Members of regional groups MidAtlantic or NorthEast will have editorial rights down the hierarchy. State level members will probably not have editorial rights up the hierarchy.

Access Levels

Create new access level and assign articles, other components, and modules to this access level. Verify that users with this access level can access the items and that a user without this access level cannot.

Module Tests

Create a new module of each type and display on a menu item.

Menu Items

Create a new menu item of each type and verify that it is displayed without errors.

See Also

Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox