SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
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

Mais conteúdo relacionado

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Último (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Destaque

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
ThinkNow
 
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
Kurio // The Social Media Age(ncy)
 

Destaque (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