Community:OnRamp/documentation/design/caching/testing
From NSDLWiki
Caching - Test Plan
Design | Discussion | Status | Testing
See Testing Discussion page for coverage analysis.
Script Test Matrix for 'Destination Specifies Range'
Destination Identifier | Range/Result Identifier | Script Identifier |
destination (destination uid) | uid (range uid) | script (script uid) |
did (destination id) | uid | script |
destination | uid | behid (script id) |
did | uid | behid |
destination | date (range date) | script |
did | date | script |
destination | date | behid |
did | date | behid |
destination | rid (range id) | script |
did | rid | script |
destination | rid | behid |
did | rid | behid |
Test Passed | Test Failed | Question with the Test | Not Begun |
Status | Test and Expected Results |
Test Suite: Destination Specifies Range: Cache & Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Destination Specifies Range: Cache and Fetch: destination&uid&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&uid&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: destination&uid&behid | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&uid&behid | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: destination&date&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&date&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: destination&date&behid | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&date&behid | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: destination&rid&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&rid&script | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: destination&rid&behid | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&rid&behid | |
Test:
| |
Test Suite: Destination Specifies Range: Cache & Fetch: Test vs. Production | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Destination Specifies Range: Cache and Fetch: did&rid&behid - missing &test | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&rid&script - missing &test on cache | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&rid&script - missing &test on fetch | |
Test:
| |
Test: Destination Specifies Range: Cache and Fetch: did&rid&script&test | |
Test:
| |
Test Suite: Destination Specifies Range: Custom Script: Cache & Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&uid&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&uid&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&uid&behid | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&uid&behid | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&date&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&date&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&date&behid | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&date&behid | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&rid&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: destination&rid&behid | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&behid | |
Test:
| |
Test Suite: Destination Specifies Range: Custom Script: Cache & Fetch: Test vs. Production | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&behid - missing &test | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script - missing &test on cache | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script - missing &test on fetch | |
Test:
| |
Test: Destination Specifies Range: Custom Script: Cache and Fetch: did&rid&script&test | |
Test:
|
Script Test Matrix for 'Distribution Specifies Range'
Destination Identifier | Range/Result Identifier | Script Identifier |
destination (destination uid) | script (script uid) | |
did (destination id) | script | |
destination | behid (script id) | |
did | behid | |
destination | date (result date) | script |
did | date | script |
destination | date | behid |
did | date | behid |
Test Passed | Test Failed | Question with the Test | Not Begun |
Status | Test and Expected Results |
Test Suite: Distribution Specifies Range: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Distribution Specifies Range: Cache and Fetch: destination&script | |
Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&script | |
Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: destination&behid | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&behid | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: destination&date&script | |
Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&date&script | |
Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: destination&date&behid | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&date&behid | |
Script ID: TBA (not written yet) Test:
| |
Test Suite: Distribution Specifies Range: Cache & Fetch: Test vs. Production | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Distribution Specifies Range: Cache and Fetch: did&date&behid - missing &test | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&date&script - missing &test on cache | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&date&script - missing &test on fetch | |
Script ID: TBA (not written yet) Test:
| |
Test: Distribution Specifies Range: Cache and Fetch: did&date&script&test | |
Script ID: TBA (not written yet) Test:
|
Script Test Matrix for 'All Distributions'
Destination Identifier | Range/Result Identifier | Script Identifier |
destination (destination uid) | script (script uid) | |
did (destination id) | script | |
destination | behid (script id) | |
did | behid |
Test Passed | Test Failed | Question with the Test | Not Begun |
Status | Test and Expected Results |
Test Suite: All Distributions: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: All Distributions: Cache and Fetch: destination&script | |
Test:
| |
Test: All Distributions: Cache and Fetch: did&script | |
Test:
| |
Test: All Distributions: Cache and Fetch: destination&behid | |
Test:
| |
Test: All Distributions: Cache and Fetch: did&behid | |
Test:
| |
Test Suite: All Distributions: Cache & Fetch: Test vs. Production | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: All Distributions: Cache and Fetch: did&date&behid - missing &test | |
Test:
| |
Test: All Distributions: Cache and Fetch: did&date&script - missing &test on cache | |
Test:
| |
Test: All Distributions: Cache and Fetch: did&date&script - missing &test on fetch | |
Test:
| |
Test: All Distributions: Cache and Fetch: did&date&script&test | |
Test:
|
Script Test Matrix for Security
User | Can View Results | Can Create Results | Can Manage Destinations |
not logged in | YES | NO | NO |
logged in as user with no rights | YES | NO | NO |
logged in as Destination Admin | YES | Some | Some |
logged in as Admin | YES | YES | YES |
Test Passed | Test Failed | Question with the Test | Not Begun |
Status | Test and Expected Results |
Test Suite: Security: Not Logged In: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Security: Not Logged In: Fetch: destination&script | |
Test:
| |
Test: Security: Not Logged In: Cache: destination&script | |
Test:
| |
Test: Security: Not Logged In: Manage Destinations | |
Test:
Test Suite: Security: No Privileges: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Security: No Privileges: Fetch: destination&script | |
Test:
| |
Test: Security: No Privileges: Cache: destination&script | |
Test:
| |
Test: Security: No Privileges: Manage Destinations | |
Test:
Test Suite: Security: Destination Admin: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Security: Destination Admin: Owner: Fetch: destination&script | |
Test:
| |
Test: Security: Destination Admin: Owner: Cache: destination&script | |
Test:
| |
Test: Security: Destination Admin: Not Owner: Fetch: destination&script | |
Test:
| |
Test: Security: Destination Admin: Not Owner: Cache: destination&script | |
Test:
| |
Test: Security: Destination Admin: Manage Destinations | |
Test:
Test Suite: Security: Admin: Cache and Fetch scripts: Called Directly | |
Common Setup for all tests in this section:
Common Tear Down for all tests in this section: | |
Test: Security: Admin: Fetch 1: destination&script | |
Test:
| |
Test: Security: Admin: Cache 1: destination&script | |
Test:
| |
Test: Security: Admin: Fetch 2: destination&script | |
Test:
| |
Test: Security: Admin: Cache 2: destination&script | |
Test:
| |
Test: Security: Admin: Manage Destinations | |
Test:
|