Слайд 2
![Test Case Definition Test case is a set of input](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-1.jpg)
Test Case Definition
Test case
is a set of input values, execution
pre-conditions, expected results and execution post-conditions, developed for a particular objective or test condition, such as to exercise a particular program path or to verify compliance with a specific requirement.
Слайд 3
![Main Rule Never ever start to write Test Cases from writing Test Cases!](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-2.jpg)
Main Rule
Never ever
start to write Test Cases
from
writing Test Cases!
Слайд 4
![WHY?](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-3.jpg)
Слайд 5
![Instruction](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-4.jpg)
Слайд 6
![Conclusion So, Test Cases are the result of the analysis and all thoughts](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-5.jpg)
Conclusion
So, Test Cases are
the result
of the analysis and
all thoughts
Слайд 7
![Goals of Test Case Development](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-6.jpg)
Goals of Test Case Development
Слайд 8
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-7.jpg)
Features of a Good Test Case
Слайд 9
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-8.jpg)
Features of a Good Test Case
Слайд 10
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-9.jpg)
Features of a Good Test Case
Слайд 11
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-10.jpg)
Features of a Good Test Case
Слайд 12
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-11.jpg)
Features of a Good Test Case
Слайд 13
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-12.jpg)
Features of a Good Test Case
Слайд 14
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-13.jpg)
Features of a Good Test Case
Слайд 15
![Features of a Good Test Case](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-14.jpg)
Features of a Good Test Case
Слайд 16
![When to start a TC creation ?](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-15.jpg)
When to start a TC creation
?
Слайд 17
![When to start a TC creation A specification should be](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-16.jpg)
When to start a TC creation
A specification should be clear to
test:
How it will look
How it will function
Слайд 18
![Source of Test Cases ?](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-17.jpg)
Слайд 19
![Source of Test Cases Specification – main source. Product is NOT a source!!!](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-18.jpg)
Source of Test Cases
Specification – main source.
Product is NOT a source!!!
Слайд 20
![Test Case Structure](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-19.jpg)
Слайд 21
![Structure of Test Case Test Case ID (unique)* Title* Pre-condition/Prerequisites](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-20.jpg)
Structure of Test Case
Test Case ID (unique)*
Title*
Pre-condition/Prerequisites
User roles
Steps*
Test data
Expected result*
Status*
Comment*
Слайд 22
![Title of Test Cases Add “Component/Area” to group test cases.](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-21.jpg)
Title of Test Cases
Add “Component/Area” to group test cases.
Use keywords to
make it specific.
Avoid "correctly", "properly“ and "as designed“.
Слайд 23
![Pre-condition/Prerequisites Test setup (settings, entities, users). Describe conditions which needs](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-22.jpg)
Pre-condition/Prerequisites
Test setup (settings, entities, users).
Describe conditions which needs to fulfill before
executing the test case.
Слайд 24
![Test Data Variations No data. Valid data. Invalid data. Illegal](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-23.jpg)
Test Data Variations
No data.
Valid data.
Invalid data.
Illegal data format.
Boundary Condition Data set.
Equivalence
Partition Data Set.
Decision Table Data Set.
State Transition Test Data Set.
Pairwise Testing.
Use Case Test Data.
Слайд 25
![Test Case Store Test Management Tool (TestRail, Zephyr, AzDO and](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-24.jpg)
Test Case Store
Test Management Tool
(TestRail, Zephyr, AzDO and etc.)
Google Sheets
(not secure except if it has his own account)
SharePoint
Excel
Слайд 26
![Language Write in simple and easy to understand language Use](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-25.jpg)
Language
Write in simple and easy to understand language
Use active voice: Do
this, do that
Use Present Simple
Use “should” in expected results (or Present Simple)
Use exact and consistent names (of forms, fields, etc)
Слайд 27
![Tips for writing good test cases](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-26.jpg)
Tips for writing good test cases
Слайд 28
![Execution of Test Cases Set a status: - Passed -](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-27.jpg)
Execution of Test Cases
Set a status:
- Passed
- In Progress
-
Failed
- Not tested
- Not Applicable
- Blocked
Add comments
Add attachments
Link defects
Слайд 29
![Example](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-28.jpg)
Слайд 30
![Example](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-29.jpg)
Слайд 31
![Example](/_ipx/f_webp&q_80&fit_contain&s_1440x1080/imagesDir/jpg/599819/slide-30.jpg)