SlideShare una empresa de Scribd logo
1 de 13
Descargar para leer sin conexión
Simple Railroad Command
        Protocol
      Version 0.8.3



                     Naveen John
         Frankfurt University of Applied Sciences
Strategies used to select the final test
                cases
• Black box Testing
  – Boundary value Analysis
  – Equivalence partitioning
  – Pairwise testing
  – Error guessing
• White Box Testing
  – Statement coverage
• Boundary value analysis:
  • Since these boundaries are common locations for errors
    that result in software faults they are frequently exercised
    in test cases.

        Device Group      Command          Specification
             GA              INIT       Valid addresses are
            (M)                             from 1- 324
            GA               INIT       Valid addresses are
            ( N)                               from
                                               1-511
• Equivalence partitioning
    This divides the input data of a software unit into
     partition of data from which test cases can be
     derived
   Eg: In Device Group GL ( S )
               Valid Range             Partition

                ...,-2,-1          Invalid Partition 1

                0 , …. 111          Valid Partition

                112…..             Invalid Partition 2
• Pairwise testing
  – For each pair of input parameters to a system, test
    all possible discrete combinations of those
    parameters
  – Eg :     INIT 1 GA 200 N 1 1
Metrics used
– Severity
– Business impact
– Failure Impact
– Test cost in terms of time (Cost of testing / total cost
  *100%)
– Test Coverage = Number of units tested / total size of the
  system
– Cost to locate defect = Cost of testing / the number of
  defects locate
– Quality of code
Reporting
                         FINAL REPORT
        Tester                                 Naveen John
  Test cases Planned                                75
Test cases Implemented                              50
  Test cases Executed                               43
      Bugs found                                    15
   Tests conducted                        Black Box & White Box
     Test duration                               50 hours
      Test status                       Completed on 23.06.2010
       Severity                                    High
 Feedback from Tester                   Not suitable for production.
                                          Bugs need to be fixed
Findings on SRCP
      Specification            Command         Test observation       Test    Severity
                                                                     Result
  All words are case-
       sensitive.                   set
                             CoNnectionMode     Works well with       FAIL     4. Low
Commands and replies          Srcp coMmand    lowercase letters as
of the SRCP are always                               well.
 written in uppercase
        letters.
                                               Fails to stop the
Stops and removes the                                timer.           FAIL    1. Very
        timer                 TERM 0 TIME      Error message is                High
                                                   displayed
Re-initializes the server.                      Fails to Reset.
All devices are set in the      RESET 0        Error message is       FAIL    1. Very
      default state.            SERVER            displayed                    High
Specification       Command       Test observation     Test Result    Severity
Reports data about      GET 0       Does not report
the session as 100    SESSION 2      data about the         FAIL       3.Medium
      INFO.                        session but rather
                                        an error
Sets the value for     SET 1 FB      Fails to set the                  1. Very High
 the FB specified     0*222222 0          value             FAIL
                                    Error message is
                                        displayed
The concerned bus     TERM 1 FB     Fails to do so but                 1. Very High
is taken out of the                instead displays an      FAIL
       runing                              error
  communication
without deleting it
    from the list
of present busses.
Device   Command    Specification        Test         Test Result    Severity
Group                                 Observation
 GA        INIT    Valid addresses    Only 1-256         FAIL       1. Very High
(M)                are from 1- 324    addresses
                                        can be
                                      initialized
 GA        INIT    Valid addresses    Only 1-256         FAIL       1. Very High
 ( N)                  are from       addresses
                        1-511           can be
                                      initialized
 GA        INIT    Valid addresses    Only 1-256         FAIL       1. Very High
 (S)                     from         addresses
                        0-111           can be
                                      initialized
 GA        SET      Delay of 0 is     Delay of 0 is      FAIL       1. Very High
                     not valid           valid
 GA        SET     ( * ) Sign which     Error            FAIL       1. Very High
                      means ALL       message is
                     known GA ,       displayed
                   should be valid
Device   Command         Specification      Test Observation      Test    Severity
Group                                                            Result
 GL         GET        Gets information      Fails to get the     FAIL    3.Medium
                       from the server       information &
                                            displays an error
                                                message
 GL          INIT       INIT the kind of    Fails to do so but    FAIL     1. Very
          ( Without    data transfers and    rather displays                High
           optional       fundamental       an error message
         parameters)     features of the
                           decoder is
                        reported to the
                             server
White Box test results
   Function                Bugs            Severity
*thr_sendrec_S88   usleep is not checked
                    for incorrect result   2.High

  init_bus_S88     Result from call to
                   ioperm(S88PORT, 3,1)
                   which checks the port   2.High
                   accessibility is not
                   checked.
Future Enhancements
• Include Cause-effect graphing
• Perform Fuzz testing
• Increase Code coverage
  – Decision/condition coverage
  – Multiple-condition coverage
• Perform Stress Testing

Más contenido relacionado

Último

Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024CapitolTechU
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...Nguyen Thanh Tu Collection
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTraininfosec train
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticspragatimahajan3
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonMayur Khatri
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointELaRue0
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfmstarkes24
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryEugene Lysak
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesRased Khan
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfaedhbteg
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfMinawBelay
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17Celine George
 

Último (20)

Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
Discover the Dark Web .pdf InfosecTrain
Discover the Dark Web .pdf  InfosecTrainDiscover the Dark Web .pdf  InfosecTrain
Discover the Dark Web .pdf InfosecTrain
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 
Essential Safety precautions during monsoon season
Essential Safety precautions during monsoon seasonEssential Safety precautions during monsoon season
Essential Safety precautions during monsoon season
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Open Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPointOpen Educational Resources Primer PowerPoint
Open Educational Resources Primer PowerPoint
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
MichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdfMichaelStarkes_UncutGemsProjectSummary.pdf
MichaelStarkes_UncutGemsProjectSummary.pdf
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
Application of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matricesApplication of Matrices in real life. Presentation on application of matrices
Application of Matrices in real life. Presentation on application of matrices
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Behavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdfBehavioral-sciences-dr-mowadat rana (1).pdf
Behavioral-sciences-dr-mowadat rana (1).pdf
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17How to Manage Notification Preferences in the Odoo 17
How to Manage Notification Preferences in the Odoo 17
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

SRCP seminar

  • 1. Simple Railroad Command Protocol Version 0.8.3 Naveen John Frankfurt University of Applied Sciences
  • 2. Strategies used to select the final test cases • Black box Testing – Boundary value Analysis – Equivalence partitioning – Pairwise testing – Error guessing • White Box Testing – Statement coverage
  • 3. • Boundary value analysis: • Since these boundaries are common locations for errors that result in software faults they are frequently exercised in test cases. Device Group Command Specification GA INIT Valid addresses are (M) from 1- 324 GA INIT Valid addresses are ( N) from 1-511
  • 4. • Equivalence partitioning This divides the input data of a software unit into partition of data from which test cases can be derived Eg: In Device Group GL ( S ) Valid Range Partition ...,-2,-1 Invalid Partition 1 0 , …. 111 Valid Partition 112….. Invalid Partition 2
  • 5. • Pairwise testing – For each pair of input parameters to a system, test all possible discrete combinations of those parameters – Eg : INIT 1 GA 200 N 1 1
  • 6. Metrics used – Severity – Business impact – Failure Impact – Test cost in terms of time (Cost of testing / total cost *100%) – Test Coverage = Number of units tested / total size of the system – Cost to locate defect = Cost of testing / the number of defects locate – Quality of code
  • 7. Reporting FINAL REPORT Tester Naveen John Test cases Planned 75 Test cases Implemented 50 Test cases Executed 43 Bugs found 15 Tests conducted Black Box & White Box Test duration 50 hours Test status Completed on 23.06.2010 Severity High Feedback from Tester Not suitable for production. Bugs need to be fixed
  • 8. Findings on SRCP Specification Command Test observation Test Severity Result All words are case- sensitive. set CoNnectionMode Works well with FAIL 4. Low Commands and replies Srcp coMmand lowercase letters as of the SRCP are always well. written in uppercase letters. Fails to stop the Stops and removes the timer. FAIL 1. Very timer TERM 0 TIME Error message is High displayed Re-initializes the server. Fails to Reset. All devices are set in the RESET 0 Error message is FAIL 1. Very default state. SERVER displayed High
  • 9. Specification Command Test observation Test Result Severity Reports data about GET 0 Does not report the session as 100 SESSION 2 data about the FAIL 3.Medium INFO. session but rather an error Sets the value for SET 1 FB Fails to set the 1. Very High the FB specified 0*222222 0 value FAIL Error message is displayed The concerned bus TERM 1 FB Fails to do so but 1. Very High is taken out of the instead displays an FAIL runing error communication without deleting it from the list of present busses.
  • 10. Device Command Specification Test Test Result Severity Group Observation GA INIT Valid addresses Only 1-256 FAIL 1. Very High (M) are from 1- 324 addresses can be initialized GA INIT Valid addresses Only 1-256 FAIL 1. Very High ( N) are from addresses 1-511 can be initialized GA INIT Valid addresses Only 1-256 FAIL 1. Very High (S) from addresses 0-111 can be initialized GA SET Delay of 0 is Delay of 0 is FAIL 1. Very High not valid valid GA SET ( * ) Sign which Error FAIL 1. Very High means ALL message is known GA , displayed should be valid
  • 11. Device Command Specification Test Observation Test Severity Group Result GL GET Gets information Fails to get the FAIL 3.Medium from the server information & displays an error message GL INIT INIT the kind of Fails to do so but FAIL 1. Very ( Without data transfers and rather displays High optional fundamental an error message parameters) features of the decoder is reported to the server
  • 12. White Box test results Function Bugs Severity *thr_sendrec_S88 usleep is not checked for incorrect result 2.High init_bus_S88 Result from call to ioperm(S88PORT, 3,1) which checks the port 2.High accessibility is not checked.
  • 13. Future Enhancements • Include Cause-effect graphing • Perform Fuzz testing • Increase Code coverage – Decision/condition coverage – Multiple-condition coverage • Perform Stress Testing