Skip to content

Commit c2456b1

Browse files
committed
manual test for deploy-from-file
1 parent 92f6bfa commit c2456b1

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

docs/test/deploy-from-file.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Deploy from file
2+
3+
## Prerequisites
4+
Open deploy dialog (+) and select "Upload a YAML or JSON file"
5+
6+
## Expected result at execution
7+
* In positive case the "Deploy" button must lead to the creation of a running application
8+
* Validation errors affecting particular fields must be displayed beneath these fields. In case the deployment fails due to an exception, then a pop dialog is shown
9+
10+
## Specific factors
11+
12+
| Factor | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Comment |
13+
|--------------|------------------------------|------------------------|---------------------------------------------|------------------|--------------|-------------------------------|-------------------------|---------|
14+
| File name | Empty | Short | Max-length | | | | | |
15+
| File content | Correct YAML, e.g. Guestbook | Correct JSON | Binary, e.g. PNG | Validation error | Syntax error | no RC, e.g. Only pod, svc,... | Special chars, e.g. XSS | |
16+
| Existence | Empty cluster | Deploy same file twice | One resource already exists, e.g. Namespace | | | | | |
17+
| Action | "Deploy" | "Cancel" | | | | | | |
18+
19+
## Common Factors
20+
21+
| Factor | 1 | 2 | 3 | 4 |
22+
|-----------------|----------------------------|----------------------------------|----|--------|
23+
| Browser | Chrome | Firefox | IE | Safari |
24+
| Form | Desktop | Mobile | | |
25+
| Help | Hover over every? | Click on every "Learn more" link | | |
26+
| Log entries | check log entry on success | Check log entry on failure | | |
27+
| Success message | Shown for every action | | | |
28+
| Failure message | Proper sentence | | | |
29+
| Concurrency | UI refreshes after error | | | |

docs/test/readme.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Manual Testing
2+
3+
In this project we do manual testing with an approach that is called factor based testing (FBT)
4+
5+
## Process of Defining Test Sheets
6+
7+
A test sheet is defined for every test area. Typically a test area is a UI page.
8+
The test area is examined. All actions and potential errors are grouped into test factors. (Take a look at the existing test sheets).
9+
10+
The test factors are divided into specific factors that apply only to the test area and common test factors that apply to all areas. Scratched factors will not be implemented in first release.
11+
12+
## Process of Testing
13+
14+
Pick a test sheet and study the specific and the common factors. The common factors are defined in a generic way. They might need some mental adaption to your test area.
15+
16+
Consider the test factors as a cheat-sheet or checklist. They should foster your creativity when doing tests. Think about combining multiple test factors in 'evil' test scenarios.
17+
18+
19+
The factors do not define an expected outcome. This is intentional.
20+
The following can help you to decide if the observed behavior is a bug:
21+
* Compare it with other areas. It must be consistent within Dashboard.
22+
* Compare it with other large websites like Gmail or Inbox. These sites follow common practices and match user expectation.
23+
24+
Dashboard is under constant development. Always enhance and adopt the sheets when doing tests.
25+
26+
## Sheets
27+
28+
* [Deploy from file](deploy-from-file.md)

0 commit comments

Comments
 (0)