...
TEST PLAN OVERVIEW
Scope of testing
This document is designed to guide Quality Assurance in the functionality testing of the provider mechanisms within SmartSite. The functionality of the provider mechanisms, as detailed by the given test cases in this plan, are driven by the functional requirements at :http://confluence.ucdavis.edu:8080/confluence/display/UCDSAKAI/Sakai+Providers.
...
Tip | ||
---|---|---|
| ||
The purpose of this test plan is to regression test the provider functionality, which in SmartSite includes: UserDirectoryProvider
GroupProvider
CourseManagementProvider
|
KNOWN ISSUES / PREVIOUS BUGS FIXED
...
|
KNOWN ISSUES / PREVIOUS BUGS FIXED
Previously determined bugs have been fixed for this testing, they were identified as the following. They are also summarized in the table of Jiras referenced in this test plan.
- Realms not refreshing frequent enough
- Rosters not accurate with Banner
- Drops not showing in SmartSite UI
- Known (not fixed) issue #1 for Resources tool (e.g. using WebDav), is that when a file is uploaded to the system, metadata is written to the database before the file is stored on the file system. This is a feature of Sakai, which was detected during some resource discussion re:AFS file storage. For this reason, a resource may "seem" to be updated correctly, and listed in the resouce tool however the content cannot be seen. An http 404 error is thrown (No page can be found). This error is NOT fixed for this testing, just a known issue for Case 1a.
- Known (not fixed) issue #2 is that whatever user that creates the sites when logged in is placed as a member in the site. Therefore, if ssbatchadmin created sites then the roster for such sites may appear off by 1.
...
title | JIRAs that explain features and past bugs fixed, to be tested in this plan |
---|
...
- Known (not fixed) issue #3 is that the instructor presented in the member list is not presented first. This is a default sorting behavior within SmartSite and will not be fixed.
- Known (not fixed) issue #4 http://jira.ucdavis.edu:8080/jira/browse/SAK-202 is that the instructor presented in the member list may be still listed even if they have been "replaced"
Info | |||||
---|---|---|---|---|---|
| |||||
Summary of the Jiras related to this test plan, which have been fixed:
|
TEST ENVIRONMENT
- Hardware Setup
INTEGRATION TESTING | SETUP |
Server Type | Location |
---|---|
database | bricker.ucdavis.edu with banner-test (external db), and sakai |
...
dev (internal db) |
application |
...
hanley.ucdavis.edu, sakai- |
...
dev | |
web server | url, |
...
...
hanley.ucdavis.edu:8443/portal | |
population of data referenced | 2006 Fall Quarter Banner Test data (external), and clean sakai internal database with exception of necessary login accounts and manual sites created) |
- Note: The application does not need to be stopped for these tests to occur
...
QA TESTING | SETUP |
Server Type | Location |
---|---|
database | bricker.ucdavis.edu with banner-test (external db), and sakai test (internal db) |
application | isaac.ucdavis.edu, sakai-test |
web server | url, http://sakai-test.ucdavis.edu |
population of data referenced | 2006 Fall Quarter Banner Test data (external), and clean sakai internal database with exception of necessary login accounts and manual sites created) |
- Note: The application does not need to be stopped for these tests to occur
- Software Setup
run test under https://mware.ucdavis.edu/svn/ucdsakai/branches/sakai-core-2.1.x-scottsdev branch incorporatedAdditional branch, with mods from https://mware.ucdavis.edu/svn/ucdakai/sakai-core-2.1.x-scottsdev branch incorporated
- Additional Setup Needed
**QA admin account (e.g. QAadmin)
**All login accounts that use kerberos names can be "provided" by the system (e.g. UserDirectoryProvider implemented).
**SU tool and Quartz tools are available in admin workspace/realm
**Testers have access to testable sites (via SU tool, admin workspace, as user QAAdmin, etc.)
**Run CourseManagement tests on existing batched sites perhaps? or run CourseManagementTests on new Fall Quarter Courses batched? - mView refresh times must be recorded
- Additional External-Banner Test Data Used for Provider Testing
A copy of test data that may be used for these test cases is attached: http://confluence.ucdavis.edu:8080/confluence/download/attachments/17096/200603TestData.xls
DEPENDENCIES
- All UCDavis Providers (UserDirectoryProvider, GroupProvider, and CourseManagementProvider) will be enabled to allow user accounts to be An example of a white list file to be used for course creation is: http://confluence.ucdavis.edu:8080/confluence/download/attachments/17226/white-list.txt
DEPENDENCIES
- All UCDavis Providers (UserDirectoryProvider, GroupProvider, and CourseManagementProvider) will be enabled to allow user accounts to be looked up automatically via kerberos name
- Distributed authentication using AFS should be enabled (SAK-143)
- Sakai-test (Sakai-dev for integration testing) database will be a either a clean copy or a copy of existing production data, so sakai-test will have to be backed up prior to testing,
We Pradhu or Geeta will be referencing contacted to schedule this. - We will be referencing sakai-test (banner test external, mViews..) for populating course data
...
Info |
---|
*NOTE: The order of the test cases will be as follows. Setup Preliminary Case (0a): Accessing server Case 1: User Directory Provider Case 2: Group Provider Case 3: Course Management Provider |
TEST CASES
Info | ||
---|---|---|
| ||
Description = description of the test performed |
...
Note | ||
---|---|---|
| ||
Description = Test the capability of the user to log into the test server using a valid SmartSite admin account and see SU Tool, and other admin functionality Category of Testing = functionality,regression Prerequisite Steps Test Scenario 0d
Test Cleanup |
...
Test | User | User Acting As | Result | Expected Result | Pass/Fail |
---|---|---|---|---|---|
Login to SmartSite, SmartSite admin account | Pat Kava | admin | logged in, user in "Users Present" | logged in, name in "Users Present" | P |
Login to SmartSite, SmartSite admin account | Pat Kava | admin | see admin workspace | see admin workspace | P |
Login to SmartSite, SmartSite admin account | Pat Kava | admin | see Sites link | Sites link accessable | P |
Logout of SmartSite, using logout link | Pat Kava | admin | logout happens | logout happens | P |
Login to SmartSite, using QAAdmin QAadmin account | Pat Kava | QAAdminQAadmin | logged in, user in "Users Present" | logged in, name in "Users Present" | P |
See SU page link | Pat Kava | QAAdminQAadmin | SU page/tool available | SU page/tool accessable | P |
SU as some instructor using SU Tool | Pat Kava | QAAdminQAadmin | SU by "View User Info" first, then "Become User" | SU happens correctly, become user | P |
Logout of SmartSite, using logout link | Pat Kava | SU'd person | logout happens | logout happens | P |
...
Note | ||
---|---|---|
| ||
Description = Test the capability of the UserDirectoryProvider to provide Kerberos authentication for WebDav Category of Testing = functionality,regression Prerequisite Steps
Test Scenario 1a, WebDav
Test Cleanup |
Test Results, Case 1a WebDav
Would yield an example Summary Test Result of:
...
results: Recorded in Jira http://jira.ucdavis.edu:8080/jira/browse/SAK-154
Note | ||
---|---|---|
| ||
Description = Test the capability of the UserDirectoryProvider to provide information about an externally provided user via the SU Tool Category of Testing = functionality,regression Prerequisite Steps
Test Scenario 1b, User lookup functionality
Test Cleanup |
...
Note | ||
---|---|---|
| ||
Description = Test the capability of the GroupProvider to provide tabs for a user based on their enrollment/membership in sites Category of Testing = functionality,regression Prerequisite Steps
Test Scenario 2a, Tabs
-Additional step for programmers (Case 2ai), verify that data presented in tabs matches server log data-
Test Cleanup |
...
Note | ||
---|---|---|
| ||
Description = Test the capability of the AuthxGroups to be updated more frequently than default OOTB Category of Testing = functionality,regression Prerequisite Steps
Test Scenario 2b, Realms refreshing
-Additional step for programmers (Case 2bi), verify that authz refresh is happening via the log output, and at what intervals-
Test Cleanup |
...
Case 3 #CourseManagementProvider Test Cases
Possible Test Data
Note | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Info | ||||||||||||||||||||||||||||||||||||
|
|
Info | ||
---|---|---|
| ||
Test Scenario 3a(1), Roster Add |
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, students dropped from a Banner roster alotted time period
Category of Testing = functionality,regression
Prerequisite Steps
Info | ||
---|---|---|
| ||
Test Scenario 3a(2), Roster Delete |
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, instructor updated a Banner roster alotted time period
Category of Testing = functionality,regression
Prerequisite Steps
Possible data set to use for CourseManagementProvider Tests, carried over from Batch Testing |
CRN Type | Term code - crn | enrollment | instructor kname | Course info | Term |
---|---|---|---|---|---|
CRN with no enrollment | 2006-06-60245 | 0 | fzduts (Dennis Dutschke) | ITA 198 S01 Dir Group Study | Summer Special Session 2006 |
CRN with large enrollment number | 2006-01-60001 | 84 (all valid knames) | ewlarsen (Eric Larsen) | LDA, 190 , 001, ProSeminar | Winter Quarter 2006 |
CRN with enrollment | 2006-01-40018 | 14 (all valid knames) | calymos (Calvin Lymos) | AAS, 154, 001, University Gospel Choir | Winter Quarter 2006 |
CRN with enrollment | 2006-03-82882 | 10 | ltcmwc (Mark Connelly) | MSC 141 002 Army Mngmt Systems | Spring Quarter 2006 |
CRN with enrollment | 2006-03-83634 | 10 (all valid knames) | eschang (Ernest Chang) | NPB 141P 001 Res In Physio Adapt | Spring Quarter 2006 |
Note | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Case 3a, Roster View Tests
Note | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, the roster from a site administrator perspective Category of Testing = functionality,regression Prerequisite Steps
|
Case 3b, Roster Update Tests
Note | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, students added to a Banner roster within an alotted time period Category of Testing = functionality,regression Prerequisite Steps
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, students dropped from a Banner roster within an alotted time period Category of Testing = functionality,regression Prerequisite Steps
Test Cleanup |
Test Results Case 3b(1),3b(2), Roster update functionality
Would yield an example Summary Test Result of:
Test | User | User Acting As | Result | Expected Result | Pass/Fail |
---|---|---|---|---|---|
Roster add check | Pat Kava | x | roster added with Student xxxxx | Roster added with Student kerb name | P |
Roster drop check | Pat Kava | x | roster changed with Student xxxxx removed | Roster changed accordingly with kerb name xxxx removed | P |
results: Recorded in Jira http://jira.ucdavis.edu:8080/jira/browse/SAK-124
Case 3c, Roster Accuracy Tests
Note | |||||
---|---|---|---|---|---|
| |||||
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, members in a Roster (site member) list Category of Testing = functionality,regression Prerequisite Steps
Test Cleanup |
Test Results Case 3c Roster check
Would yield an example Summary Test Result of:
Test | User | User Acting As | Result | Expected Result | Expected Result | Expected Result | Expected Result | Pass/Fail |
---|---|---|---|---|---|---|---|---|
Roster check | Pat Kava | instructor x | site has accurate number of members | site has accurate instructor kerb name, user name | site has accurate students kerb name, user name | Format correct for member list | Member list formatted correctly | P |
results: Recorded in Jira http://jira.ucdavis.edu:8080/jira/browse/SAK-124
Case 3d, Instructor Change Tests
Note | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, instructors added to a Banner course within an alotted time period Category of Testing = functionality,regression Prerequisite Steps
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, instructors removed from a Banner course within an alotted time period Category of Testing = functionality,regression Prerequisite Steps
Description = Test the capability of the CourseMangementProvider to accurately reflect within the SmartSite UI, staff removed from a Banner course, and replaced with another instructor within an alotted time period Category of Testing = functionality,regression Prerequisite Steps
Test Cleanup |
Test Results Case 3a3d(1),3d(2), Roster Add 3d(3) Instructor update functionality
Would yield an example Summary Test Result of:
...
Test
...
User
...
User Acting As
...
Result
...
Expected Result
...
Pass/Fail
...
Test Result of:
Test | User | User Acting As | Result | Expected Result | Pass/Fail | |
---|---|---|---|---|---|---|
Instructor add check | Pat Kava | x | CRN xxxx added with instructor xxxxx | Instructor added to list | P | |
Instructor remove check | Pat Kava | x | CRN changed with instructor xxxxx removed | Member list changed with kerb name xxxx removed | P | |
Instructor change staff to instructor check | Pat Kava | x | roster added with Student xxxxx | Roster added with Student kerb name changed staff for course 2006-10-10037 to instructor kerb name mfharris | Member list changed with kerb name xxxx removed | P |
results: Recorded in Jira http://jira.ucdavis.edu:8080/jira/browse/SAK-124202
Recording Results
The test results will be recorded in Jira by QA testers. They can be of table form or text form.
...