Linter cleanup

This commit is contained in:
William Sandner
2018-08-24 12:30:24 +02:00
parent af07911365
commit fb1bdcf829
26 changed files with 664 additions and 694 deletions

View File

@@ -1,34 +1,42 @@
##### Project
::[PROJECT-NAME](Home)
##### Internal Release Number
::X.Y.Z
##### Related Documents
[QA Plan](QA-Plan) > [Test Suite](Test-Suite) > Test Cases
[System test case format](Test-Case-Format)
::LINKS TO RELEVANT STANDARDS
::LINKS TO OTHER DOCUMENTS
---
### login-1: Normal User Login
#### Purpose:
::Test that users can log in with the proper username or
**Purpose:**
::Test that users can log in with the proper username or
email address and their password.
#### Prereq:
**Prerequisite:**
::User is not already logged in.
::User testuser exists, and account is in good standing.
::User test-user exists, and account is in good standing.
#### Test Data:
::usernameOrEmail = {testuser, bogususer, testuser@nospam.com,
**Test Data:**
::usernameOrEmail = {test-user, bogus-user, test-user@nospam.com,
test@user@nospam.com, empty}
::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -41,28 +49,33 @@ test@user@nospam.com, empty}
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::This assumes that user has not agreed to terms-of-use already.
- ::Does this work without browser cookies?
---
### login-2: Locked-out User Login
#### Purpose:
::Test that a user who has been locked out by a moderator, cannot
log in, They should see a message indicating that they were locked
**Purpose:**
::Test that a user who has been locked out by a moderator, cannot
log in, They should see a message indicating that they were locked
out.
#### Prereq:
**Prerequisite:**
::User is not already logged in.
::User testuser2 exists, and has been locked out
::User test-user2 exists, and has been locked out
**Test Data:**
#### Test Data:
::usernameOrEmail = {testuser2, testuser2@nospam.com}
::usernameOrEmail = {test-user2, test-user2@nospam.com}
::password = {valid}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -72,33 +85,37 @@ out.
- ::see LoginPage
- ::verify warning message is the locked-out message
#### Notes and Questions:
**Notes and Questions:**
- ::Does this work without browser cookies?
### unique-test-case-id1: Test Case Title
#### Purpose:
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- loginID = {Valid loginID, invalid loginID, valid email, invalid
- loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -111,34 +128,40 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION
---
### unique-test-case-id2: Test Case Title
#### Purpose:
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- ::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -151,33 +174,38 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION
### unique-test-case-id3: Test Case Title
#### Purpose:
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- ::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -190,34 +218,40 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION
---
### unique-test-case-id4: Test Case Title
#### Purpose:
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- ::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -230,33 +264,38 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION
### unique-test-case-id5: Test Case Title
#### Purpose:
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- ::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -269,34 +308,39 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION
---
### unique-test-case-id6: Test Case Title
#### Purpose:
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
**Purpose:**
::Short sentence or two about the aspect of the system is
being tested. If this gets too long, break the test case
up or put more information into the feature descriptions.
#### Prereq:
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user testuser exists".
**Prerequisite:**
#### Test Data:
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
::Assumptions that must be met before the test case can be run.
E.g., "logged in", "guest login allowed",
"user test-user exists".
**Test Data:**
::List of variables and their possible values used in the test case.
You can list specific values or describe value ranges. The test case
should be performed once for each *combination* of values. These
values are written in set notation, one per line. E.g.:
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
- ::loginID = {Valid loginID, invalid loginID, valid email, invalid
email, empty}
- ::password = {valid, invalid, empty}
#### Steps:
**Steps:**
::Steps to carry out the test. See step formating rules below.
- ::visit LoginPage
@@ -309,6 +353,7 @@ values are written in set notation, one per line. E.g.:
- ::see PersonalPage
- ::verify that welcome message is correct username
#### Notes and Questions:
**Notes and Questions:**
- ::NOTE
- ::QUESTION