SlideShare ist ein Scribd-Unternehmen logo
1 von 13
TEST DESIGN TUTORIAL
CZYLI SZTUKA PROJEKTOWANIA TESTÓW
AGNIESZKA GARWOLIŃSKA
7.06.2017
INTRODUCTION
The main challenge in software validation is to design tests
so they cover all requirements keeping right balance. It
means to limit quantity of tests, at the same time ensuring
enough use cases are verified.
COST
RISK Optimum security
at minimum cost
INTRODUCTION
This tutorial provides Best Known Methods that
significantly improved my test design process by
reducing the workload and simultaneously increasing
productivity and the quality of designed tests.
The method based on the discipline in the
implementation of the test phases and using
standardized test architecture.
THREE FUNDAMETAL STEPS
 Recognizing WHAT?
 Architecture HOW?
 Utilities HOW?
REQUIREMENTS FEATURE SPECIALIST CONSULTATION
OBJECTIVE PRECONDITIONS
TEST
PREPARATION
TEST
RUN
TEST
CLEAN-UP
TOOLS DICTIONARIES CODING STANDARDS
RECOGNIZING:
WHAT I NEED TO TEST?
You need to find out how should it work:
 Which requirements describes tested feature
 How this feature usually works
 What are the weaknesses of this feature
Example:
Requirement: Linux driver must cooperate with native kernel SW
RAID solution
SW RAID 0 SW RAID 1
SW RAID 2 SW RAID 3SW RAID 4
SW RAID 5
SW RAID 6
SW RAID 1 + 0
WORKS PROPERLY...
ARCHITECTURERECOGNIZING UTILITIES
SW RAID 3
SW RAID 0 SW RAID 1
SW RAID 2SW RAID 4
SW RAID 5
SW RAID 6
SW RAID 1 + 0
WORKS PROPERLY...
ARCHITECTURERECOGNIZING UTILITIES
You need to find out how should it work:
 Which requirements describes tested feature
 How this feature usually works
 What are the weaknesses of this feature
Example:
Requirement: Linux driver must cooperate with native kernel SW
RAID solution
RECOGNIZING:
WHAT I NEED TO TEST?
You need to find out how should it work:
 Which requirements describes tested feature
 How this feature usually works
 What are the weaknesses of this feature
Example:
Requirement: Linux driver must cooperate with native kernel SW
RAID solution
SW RAID 0 SW RAID 1 SW RAID 5 SW RAID 1 + 0
WORKS PROPERLY STANDARD
CONDITIONS
AFTER RAID
RESTART
AFTER DUT
REBOOT
AFTER DUT
SHUTDOWN
ARCHITECTURERECOGNIZING UTILITIES
RECOGNIZING:
WHAT I NEED TO TEST?
A great solution is to build a test matrix arising from
requirements analysis. This matrix must capture the
different possibilities, features, and combinations of
factors that affect the behavior of our tested object.
In this way it is possible to easily determine the required
test cases, their scope, and quantity.
The test cases are created in an orderly, systematic way,
keeping strictly considered test architecture.
ARCHITECTURERECOGNIZING UTILITIES
ARCHITECTURE OF TEST DESIGN
ARCHITECTURERECOGNIZING UTILITIES
HOW SHOULD I BUILD TEST SUITE?
TEST
MATRIX
Mode X
on: 1
off: 0
Special
conditions
RAID 0 RAID 1 RAID 5 RAID 1+0
Verify for 1
device
0 TC_R0_ON1_01 TC_R1_ON1_01 n/a n/a
1 TC_R0_ON1_02 TC_R1_ON1_02 n/a n/a
1 RAID restart TC_R0_ON1_03 TC_R1_ON1_03 n/a n/a
1 Reboot DUT TC_R0_ON1_04 TC_R1_ON1_04 n/a n/a
1 Shutdown TC_R0_ON1_05 TC_R1_ON1_05 n/a n/a
Verify for 2
devices
0 TC_R0_ON2_01 TC_R1_ON2_01 TC_R5_ON2_01 n/a
1 TC_R0_ON2_02 TC_R1_ON2_02 TC_R5_ON2_02 n/a
1 RAID restart TC_R0_ON2_03 TC_R1_ON2_03 TC_R5_ON2_03 n/a
1 Reboot DUT TC_R0_ON2_04 TC_R1_ON2_04 TC_R5_ON2_04 n/a
1 Shutdown TC_R0_ON2_05 TC_R1_ON2_05 TC_R5_ON2_05 n/a
...
HOW SHOULD I FORMULATE
TEST OBJECTIVE?
Verify if SW RAID [0, 1, 5, 10] works properly embedded on [1, 2, 3, 4, 5, 6]
[Device 1, Device 2] with Mode X [on, off] works properly [ , after RAID restart, after reboot
DUT, after DUT shutdown]
ARCHITECTURERECOGNIZING UTILITIES
TEST
MATRIX
Mode X
on: 1
off: 0
Special
conditions
RAID 0 RAID 1 RAID 5 RAID 1+0
Verify for 1
device
0 TC_R0_ON1_01 TC_R1_ON1_01 n/a n/a
1 TC_R0_ON1_02 TC_R1_ON1_02 n/a n/a
1 RAID restart TC_R0_ON1_03 TC_R1_ON1_03 n/a n/a
1 Reboot DUT TC_R0_ON1_04 TC_R1_ON1_04 n/a n/a
1 Shutdown DUT TC_R0_ON1_05 TC_R1_ON1_05 n/a n/a
...
Objectives are defined.
What Preconditions must be fullfiled in order to be able
run the test?
Which of them are repetitive?
Which are rather unique?
What is main scope of the test?
What needs to be clean up after all?
HOW SHOULD I DESIGN TEST CASE?
ARCHITECTURERECOGNIZING UTILITIES
OBJECTIVE PRECONDITIONS
TEST
PREPARATION
TEST
RUN
TEST
CLEAN-UP
PRECONDITIONS
PRECONDITIONS
TEST PREPARATION
TEST RUN
TEST CLEAN-UP
TEST
PREPARATION
TEST
RUN
TEST
CLEAN-UP
ARCHITECTURERECOGNIZING UTILITIES
OBJECTIVE PRECONDITIONS
TEST
PREPARATION
TEST
RUN
TEST
CLEAN-UP
TOOLS DICTIONARIES CODING STANDARDS
EXCEL ALM PRECONDITIONS
PASS/FAIL CRITERIA
PYGUIDEPEP 0008 GVP
HOW SHOULD I DESIGN TEST CASE?
UTILITIES
DZIĘKUJĘ ZA UWAGĘ 

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

Tdd practices
Tdd practicesTdd practices
Tdd practices
 
Tdd
TddTdd
Tdd
 
Test driven development - Zombie proof your code
Test driven development - Zombie proof your codeTest driven development - Zombie proof your code
Test driven development - Zombie proof your code
 
Tdd
TddTdd
Tdd
 
Test drive on driven development process
Test drive on driven development processTest drive on driven development process
Test drive on driven development process
 
Test driven development(tdd)
Test driven development(tdd)Test driven development(tdd)
Test driven development(tdd)
 
Continuous Integration, Continuous Quality, Continuous Delivery
Continuous Integration, Continuous Quality, Continuous DeliveryContinuous Integration, Continuous Quality, Continuous Delivery
Continuous Integration, Continuous Quality, Continuous Delivery
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Tdd
TddTdd
Tdd
 
Test driven development in meteor
Test driven development in meteorTest driven development in meteor
Test driven development in meteor
 
TDD with RSpec
TDD with RSpecTDD with RSpec
TDD with RSpec
 
Tdd com Java
Tdd com JavaTdd com Java
Tdd com Java
 
Btd presentation-2011
Btd presentation-2011Btd presentation-2011
Btd presentation-2011
 
Test driven development vs Behavior driven development
Test driven development vs Behavior driven developmentTest driven development vs Behavior driven development
Test driven development vs Behavior driven development
 
Java Beginners Meetup February 2017: Testing and TDD
Java Beginners Meetup February 2017: Testing and TDDJava Beginners Meetup February 2017: Testing and TDD
Java Beginners Meetup February 2017: Testing and TDD
 
Test driven development
Test driven developmentTest driven development
Test driven development
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Cf objective2014 testing-testingeverywhere
Cf objective2014   testing-testingeverywhereCf objective2014   testing-testingeverywhere
Cf objective2014 testing-testingeverywhere
 
Agile Test Driven Development
Agile Test Driven DevelopmentAgile Test Driven Development
Agile Test Driven Development
 

Ähnlich wie TGT#16 - Sztuka projektowania testów - Agnieszka Garwolińska

Test Driven Development with Sql Server
Test Driven Development with Sql ServerTest Driven Development with Sql Server
Test Driven Development with Sql ServerDavid P. Moore
 
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfOracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfsivakodali7
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven DevelopmentJason Ragsdale
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guidebigspire
 
Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)Babul Mirdha
 
Test Driven Development - Tulsa TechFest 2009
Test Driven Development - Tulsa TechFest 2009Test Driven Development - Tulsa TechFest 2009
Test Driven Development - Tulsa TechFest 2009Jason Ragsdale
 
AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020Shelley Lambert
 
Test Driven Development - 09/2009
Test Driven Development - 09/2009Test Driven Development - 09/2009
Test Driven Development - 09/2009Jason Ragsdale
 
Test Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkTest Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkEnov8
 
Denodo Solution Manager: Best Practices for Promotion
Denodo Solution Manager: Best Practices for PromotionDenodo Solution Manager: Best Practices for Promotion
Denodo Solution Manager: Best Practices for PromotionDenodo
 
Developers Testing - Girl Code at bloomon
Developers Testing - Girl Code at bloomonDevelopers Testing - Girl Code at bloomon
Developers Testing - Girl Code at bloomonIneke Scheffers
 
Developer Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle ManagementDeveloper Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle ManagementThomas Eldblom
 
2011-02-03 LA RubyConf Rails3 TDD Workshop
2011-02-03 LA RubyConf Rails3 TDD Workshop2011-02-03 LA RubyConf Rails3 TDD Workshop
2011-02-03 LA RubyConf Rails3 TDD WorkshopWolfram Arnold
 

Ähnlich wie TGT#16 - Sztuka projektowania testów - Agnieszka Garwolińska (20)

Test Driven Development with Sql Server
Test Driven Development with Sql ServerTest Driven Development with Sql Server
Test Driven Development with Sql Server
 
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdfOracle Analytics Server Infrastructure Tuning guide v2.pdf
Oracle Analytics Server Infrastructure Tuning guide v2.pdf
 
Test Driven Development
Test Driven DevelopmentTest Driven Development
Test Driven Development
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guide
 
TDD in Javascript
TDD in JavascriptTDD in Javascript
TDD in Javascript
 
Application Testing
Application TestingApplication Testing
Application Testing
 
Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)
 
Test Driven Development - Tulsa TechFest 2009
Test Driven Development - Tulsa TechFest 2009Test Driven Development - Tulsa TechFest 2009
Test Driven Development - Tulsa TechFest 2009
 
AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020AQA_You are_Soaking_In_It_DevNexus2020
AQA_You are_Soaking_In_It_DevNexus2020
 
Test Driven Development - 09/2009
Test Driven Development - 09/2009Test Driven Development - 09/2009
Test Driven Development - 09/2009
 
Test Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps FrameworkTest Environment: An Essential Component Of The DevSecOps Framework
Test Environment: An Essential Component Of The DevSecOps Framework
 
Tdd
TddTdd
Tdd
 
Denodo Solution Manager: Best Practices for Promotion
Denodo Solution Manager: Best Practices for PromotionDenodo Solution Manager: Best Practices for Promotion
Denodo Solution Manager: Best Practices for Promotion
 
Combined Project
Combined ProjectCombined Project
Combined Project
 
Continuous Testing
Continuous TestingContinuous Testing
Continuous Testing
 
system verilog
system verilogsystem verilog
system verilog
 
Developers Testing - Girl Code at bloomon
Developers Testing - Girl Code at bloomonDevelopers Testing - Girl Code at bloomon
Developers Testing - Girl Code at bloomon
 
ASIC design verification
ASIC design verificationASIC design verification
ASIC design verification
 
Developer Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle ManagementDeveloper Group - Sitecore Application Lifecycle Management
Developer Group - Sitecore Application Lifecycle Management
 
2011-02-03 LA RubyConf Rails3 TDD Workshop
2011-02-03 LA RubyConf Rails3 TDD Workshop2011-02-03 LA RubyConf Rails3 TDD Workshop
2011-02-03 LA RubyConf Rails3 TDD Workshop
 

Mehr von Trójmiejska Grupa Testerska

TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław Smilgin
TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław SmilginTGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław Smilgin
TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław SmilginTrójmiejska Grupa Testerska
 
TGT#19 - Wszyscy jestesmy testerami - Michal Rabczuk
TGT#19 - Wszyscy jestesmy testerami - Michal RabczukTGT#19 - Wszyscy jestesmy testerami - Michal Rabczuk
TGT#19 - Wszyscy jestesmy testerami - Michal RabczukTrójmiejska Grupa Testerska
 
TGT#20 - Automated Tests Only For Testers - Kasper Kulikowski
TGT#20 - Automated Tests Only For Testers - Kasper KulikowskiTGT#20 - Automated Tests Only For Testers - Kasper Kulikowski
TGT#20 - Automated Tests Only For Testers - Kasper KulikowskiTrójmiejska Grupa Testerska
 
TGT#18 - End-to-end testing using Protractor - Jakub Raniszewski
TGT#18 - End-to-end testing using Protractor - Jakub RaniszewskiTGT#18 - End-to-end testing using Protractor - Jakub Raniszewski
TGT#18 - End-to-end testing using Protractor - Jakub RaniszewskiTrójmiejska Grupa Testerska
 
TGT#18 - BDD with The Three Amigos in API Testing - Julia Szarlej
TGT#18 - BDD with The Three Amigos in API Testing - Julia SzarlejTGT#18 - BDD with The Three Amigos in API Testing - Julia Szarlej
TGT#18 - BDD with The Three Amigos in API Testing - Julia SzarlejTrójmiejska Grupa Testerska
 
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin Kubecki
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin KubeckiTGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin Kubecki
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin KubeckiTrójmiejska Grupa Testerska
 
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...Trójmiejska Grupa Testerska
 
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...Trójmiejska Grupa Testerska
 
TGT#16 - Rozmowa techniczna (short talk) - Waldemar Mozoła
TGT#16 - Rozmowa techniczna (short talk) - Waldemar MozołaTGT#16 - Rozmowa techniczna (short talk) - Waldemar Mozoła
TGT#16 - Rozmowa techniczna (short talk) - Waldemar MozołaTrójmiejska Grupa Testerska
 
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)TGT#15 - Piramida testów w praktyce (notatki z dyskusji)
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)Trójmiejska Grupa Testerska
 
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...Trójmiejska Grupa Testerska
 
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...Trójmiejska Grupa Testerska
 
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...Trójmiejska Grupa Testerska
 
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...Trójmiejska Grupa Testerska
 
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...Trójmiejska Grupa Testerska
 

Mehr von Trójmiejska Grupa Testerska (20)

Rafal prezentacja testowanie ai
Rafal prezentacja testowanie aiRafal prezentacja testowanie ai
Rafal prezentacja testowanie ai
 
Tgt 23 przemyslaw_pradzynski
Tgt 23 przemyslaw_pradzynskiTgt 23 przemyslaw_pradzynski
Tgt 23 przemyslaw_pradzynski
 
TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław Smilgin
TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław SmilginTGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław Smilgin
TGT#21 - Tester eksploracyjny, ostatni zawód na świecie. – Radosław Smilgin
 
TGT#19 - Wszyscy jestesmy testerami - Michal Rabczuk
TGT#19 - Wszyscy jestesmy testerami - Michal RabczukTGT#19 - Wszyscy jestesmy testerami - Michal Rabczuk
TGT#19 - Wszyscy jestesmy testerami - Michal Rabczuk
 
TGT#20 - Ataki XSS - Robert Charewicz
TGT#20 - Ataki XSS - Robert CharewiczTGT#20 - Ataki XSS - Robert Charewicz
TGT#20 - Ataki XSS - Robert Charewicz
 
TGT#20 - Automated Tests Only For Testers - Kasper Kulikowski
TGT#20 - Automated Tests Only For Testers - Kasper KulikowskiTGT#20 - Automated Tests Only For Testers - Kasper Kulikowski
TGT#20 - Automated Tests Only For Testers - Kasper Kulikowski
 
TGT#20 - TGT in Numbers - Mateusz Radkiewicz
TGT#20 - TGT in Numbers - Mateusz RadkiewiczTGT#20 - TGT in Numbers - Mateusz Radkiewicz
TGT#20 - TGT in Numbers - Mateusz Radkiewicz
 
TGT#19 - 3 seconds or less - Piotr Liss
TGT#19 - 3 seconds or less - Piotr LissTGT#19 - 3 seconds or less - Piotr Liss
TGT#19 - 3 seconds or less - Piotr Liss
 
TGT#18 - End-to-end testing using Protractor - Jakub Raniszewski
TGT#18 - End-to-end testing using Protractor - Jakub RaniszewskiTGT#18 - End-to-end testing using Protractor - Jakub Raniszewski
TGT#18 - End-to-end testing using Protractor - Jakub Raniszewski
 
TGT#18 - BDD with The Three Amigos in API Testing - Julia Szarlej
TGT#18 - BDD with The Three Amigos in API Testing - Julia SzarlejTGT#18 - BDD with The Three Amigos in API Testing - Julia Szarlej
TGT#18 - BDD with The Three Amigos in API Testing - Julia Szarlej
 
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin Kubecki
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin KubeckiTGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin Kubecki
TGT#17 - Efektywne testy oprogramowania w środowisku Scrumowym - Marcin Kubecki
 
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...
TGT#17 - RestApi testing tips and tricks: how to start testing api of your we...
 
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
TGT#16 - Pain of test automatization in PAAS/SAAS solutions - Krzysztof Lembi...
 
TGT#16 - Rozmowa techniczna (short talk) - Waldemar Mozoła
TGT#16 - Rozmowa techniczna (short talk) - Waldemar MozołaTGT#16 - Rozmowa techniczna (short talk) - Waldemar Mozoła
TGT#16 - Rozmowa techniczna (short talk) - Waldemar Mozoła
 
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)TGT#15 - Piramida testów w praktyce (notatki z dyskusji)
TGT#15 - Piramida testów w praktyce (notatki z dyskusji)
 
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...
TGT#15 - Testowanie w metodykach zwinnych czyli skąd testerzy wiedzą więcej o...
 
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...
TGT#14 - @Before – Nie będę automatyzować @After – No dobra, to nie jest taki...
 
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...
TGT#14 - Case Study: Współpraca Testera i Product Ownera w zespole scrumowym ...
 
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...
TGT#13 - UI Tests Automation Framework in Evolve EDM – Case Study - Mateusz R...
 
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...
TG#13 - Nie samym Selenium człowiek żyje, czyli jak tworzyć stabilne testy fu...
 

Kürzlich hochgeladen

10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationShrmpro
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durbanmasabamasaba
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 

Kürzlich hochgeladen (20)

10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 

TGT#16 - Sztuka projektowania testów - Agnieszka Garwolińska

  • 1. TEST DESIGN TUTORIAL CZYLI SZTUKA PROJEKTOWANIA TESTÓW AGNIESZKA GARWOLIŃSKA 7.06.2017
  • 2. INTRODUCTION The main challenge in software validation is to design tests so they cover all requirements keeping right balance. It means to limit quantity of tests, at the same time ensuring enough use cases are verified. COST RISK Optimum security at minimum cost
  • 3. INTRODUCTION This tutorial provides Best Known Methods that significantly improved my test design process by reducing the workload and simultaneously increasing productivity and the quality of designed tests. The method based on the discipline in the implementation of the test phases and using standardized test architecture.
  • 4. THREE FUNDAMETAL STEPS  Recognizing WHAT?  Architecture HOW?  Utilities HOW? REQUIREMENTS FEATURE SPECIALIST CONSULTATION OBJECTIVE PRECONDITIONS TEST PREPARATION TEST RUN TEST CLEAN-UP TOOLS DICTIONARIES CODING STANDARDS
  • 5. RECOGNIZING: WHAT I NEED TO TEST? You need to find out how should it work:  Which requirements describes tested feature  How this feature usually works  What are the weaknesses of this feature Example: Requirement: Linux driver must cooperate with native kernel SW RAID solution SW RAID 0 SW RAID 1 SW RAID 2 SW RAID 3SW RAID 4 SW RAID 5 SW RAID 6 SW RAID 1 + 0 WORKS PROPERLY... ARCHITECTURERECOGNIZING UTILITIES
  • 6. SW RAID 3 SW RAID 0 SW RAID 1 SW RAID 2SW RAID 4 SW RAID 5 SW RAID 6 SW RAID 1 + 0 WORKS PROPERLY... ARCHITECTURERECOGNIZING UTILITIES You need to find out how should it work:  Which requirements describes tested feature  How this feature usually works  What are the weaknesses of this feature Example: Requirement: Linux driver must cooperate with native kernel SW RAID solution RECOGNIZING: WHAT I NEED TO TEST?
  • 7. You need to find out how should it work:  Which requirements describes tested feature  How this feature usually works  What are the weaknesses of this feature Example: Requirement: Linux driver must cooperate with native kernel SW RAID solution SW RAID 0 SW RAID 1 SW RAID 5 SW RAID 1 + 0 WORKS PROPERLY STANDARD CONDITIONS AFTER RAID RESTART AFTER DUT REBOOT AFTER DUT SHUTDOWN ARCHITECTURERECOGNIZING UTILITIES RECOGNIZING: WHAT I NEED TO TEST?
  • 8. A great solution is to build a test matrix arising from requirements analysis. This matrix must capture the different possibilities, features, and combinations of factors that affect the behavior of our tested object. In this way it is possible to easily determine the required test cases, their scope, and quantity. The test cases are created in an orderly, systematic way, keeping strictly considered test architecture. ARCHITECTURERECOGNIZING UTILITIES ARCHITECTURE OF TEST DESIGN
  • 9. ARCHITECTURERECOGNIZING UTILITIES HOW SHOULD I BUILD TEST SUITE? TEST MATRIX Mode X on: 1 off: 0 Special conditions RAID 0 RAID 1 RAID 5 RAID 1+0 Verify for 1 device 0 TC_R0_ON1_01 TC_R1_ON1_01 n/a n/a 1 TC_R0_ON1_02 TC_R1_ON1_02 n/a n/a 1 RAID restart TC_R0_ON1_03 TC_R1_ON1_03 n/a n/a 1 Reboot DUT TC_R0_ON1_04 TC_R1_ON1_04 n/a n/a 1 Shutdown TC_R0_ON1_05 TC_R1_ON1_05 n/a n/a Verify for 2 devices 0 TC_R0_ON2_01 TC_R1_ON2_01 TC_R5_ON2_01 n/a 1 TC_R0_ON2_02 TC_R1_ON2_02 TC_R5_ON2_02 n/a 1 RAID restart TC_R0_ON2_03 TC_R1_ON2_03 TC_R5_ON2_03 n/a 1 Reboot DUT TC_R0_ON2_04 TC_R1_ON2_04 TC_R5_ON2_04 n/a 1 Shutdown TC_R0_ON2_05 TC_R1_ON2_05 TC_R5_ON2_05 n/a ...
  • 10. HOW SHOULD I FORMULATE TEST OBJECTIVE? Verify if SW RAID [0, 1, 5, 10] works properly embedded on [1, 2, 3, 4, 5, 6] [Device 1, Device 2] with Mode X [on, off] works properly [ , after RAID restart, after reboot DUT, after DUT shutdown] ARCHITECTURERECOGNIZING UTILITIES TEST MATRIX Mode X on: 1 off: 0 Special conditions RAID 0 RAID 1 RAID 5 RAID 1+0 Verify for 1 device 0 TC_R0_ON1_01 TC_R1_ON1_01 n/a n/a 1 TC_R0_ON1_02 TC_R1_ON1_02 n/a n/a 1 RAID restart TC_R0_ON1_03 TC_R1_ON1_03 n/a n/a 1 Reboot DUT TC_R0_ON1_04 TC_R1_ON1_04 n/a n/a 1 Shutdown DUT TC_R0_ON1_05 TC_R1_ON1_05 n/a n/a ...
  • 11. Objectives are defined. What Preconditions must be fullfiled in order to be able run the test? Which of them are repetitive? Which are rather unique? What is main scope of the test? What needs to be clean up after all? HOW SHOULD I DESIGN TEST CASE? ARCHITECTURERECOGNIZING UTILITIES OBJECTIVE PRECONDITIONS TEST PREPARATION TEST RUN TEST CLEAN-UP PRECONDITIONS PRECONDITIONS TEST PREPARATION TEST RUN TEST CLEAN-UP TEST PREPARATION TEST RUN TEST CLEAN-UP
  • 12. ARCHITECTURERECOGNIZING UTILITIES OBJECTIVE PRECONDITIONS TEST PREPARATION TEST RUN TEST CLEAN-UP TOOLS DICTIONARIES CODING STANDARDS EXCEL ALM PRECONDITIONS PASS/FAIL CRITERIA PYGUIDEPEP 0008 GVP HOW SHOULD I DESIGN TEST CASE? UTILITIES