Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleBlack List Testing

Description = Test the capability of the system to not add course sites that are listed in a file. Courses in this list will never be batch created.

Category of Testing = unit, integration

Prerequisite Steps

  1. Scott will add a list of CRNs (valid or not) to the white-list.txt file in /var/sakai/ucd-data folder on the server, in the form of TERMYR-TERMCD-CRN for each entry. This list will be different than that used for the White List Test Scenario. Use this white list
  2. Scott will add a list of CRNs (valid or not) to the black-list.txt file in /var/sakai/ucd-data folder on the server, in the form of TERMYR-TERMCD-CRN for each entry. Use this black list file file to use here
  3. Scott will que the batch jobs job to run , first Black List, then (White List), (5 min time elapse needed)
  4. Scott will advise programmers that the batches have batch has been run
  5. Thomas and Scott will monitor server activity while testers are using sakai-dev.

Test Scenario

  • Jon G. = will look for CRN xxxxx, yyyyy, zzzzz as user ....... These CRNs will be listed in the Black List
  • Brian = will look for CRN aaaaa that is listed both in the white-list.txt and black-list.txt files
  • Sandra = will look for both CRN bbbbb, ccccc that are listed both in the white-list.txt and black-list.txt files
  • Thomas = view logs, internal sakai db
  • Scott = help Jon
  • Data to Be Used:

    Scenario

    Course

    Roster Count

    Instructor Kerb Name

    Course Details (Catalog Root, Suffix, Section, Description)

    Term Identifier

    Test Case Used In

    File Associated

    Valid CRNs

    CRN with no enrollment

    2004-03-60097

    0

    dlmiller (Douglas Miller)

    ECN, 298 , 026, Group Study

    Spring Quarter 2004

    White List

    white-list.txt

    CRN with large enrollment number

    2006-01-60001

    84 (all valid knames)

    ewlarsen (Eric Larsen)

    LDA, 190 , 001, ProSeminar

    Winter Quarter 2006

    White List

    white-list.txt

    CRN with enrollment

    2006-01-40018

    14 (all valid knames)

    calymos (Calvin Lymos)

    AAS, 154, 001, University Gospel Choir

    Winter Quarter 2006

    White List

    white-list.txt,black-list.txt

    TODO, add more blacklisted here
    Test Cleanup
  1. Scott will remove all sites created in this step when all test cases are completed.

...

Info
borderColor#ccc
bgColorefefef
titleBGColorffffcc
titleTest Results, Black List
borderStyledashed

Test

User Role

User Acting As

Result

Expected Result

Pass/Fail

Site xxxxx (not created):Test Results

ccjon

x

x

site not created in UI or db

x

Site yyyyy (not created):Test Results

ccjon

x

x

site not created in UI or db

x

Site zzzzz (not created):Test Results

ccjon

x

x

site not created in UI or db

x

Site aaaaa (not created):Test Results

bdonnell

x

x

site not created in UI or db

x

Site bbbbb (not created):Test Results

smavocet

x

x

site not created in UI or db

x

Site ccccc (not created):Test Results

smavocet

x

x

site not created in UI or db

x

*Note, pass/fail depends on db check also for this test! Jon and Brian/Sandra will consult with Thomas and Scott about test case result.

...