Testing

Cards (35)

  • What are the 5 components that you test
    Software
    Hardware
    Data
    Interface
    Resulting service
  • Component testing, checks each part of a programs functionality
  • First 2 component testing sections are hardware and software
    Software is all software, and can include the firmware and OS
    Hardware is all hardware, including external devices such as routers
  • The third section is data, this includes any data used, stored, or exchanged. An example is user input or an API
  • The fourth section is interface, which covers all interactions. This can be both internal, such as function arguments; or can be external, such as a dark mode button
  • The final section is resulting services, this if the end product meets requirements. This can include logic errors in the program, and missing functionalities
  • Software component testing:
    • Example: Testing the firmware and OS of a router to ensure they function correctly and securely.
  • Hardware component testing:
    • Example: Testing the physical ports and signal strength of a router, as well as its durability and environmental resilience.
  • Data component testing:
    • Example: Validating user input data, ensuring the integrity of data transmitted via APIs, and verifying data stored in databases.
  • Interfaces component testing:
    • Example: Testing the API endpoints for correct data exchange, and verifying the functionality of a user interface button like a dark mode toggle.
  • Resulting Services component testing:
    • Example: Ensuring that a router provides stable internet connectivity, meets performance benchmarks, and all its features (such as firewall protection) work as expected.
  • When testing a program you can use many methodologies. Each methodology is suitable for different issues, and are all used before deploying a program
  • CUBIP LARS represents all the main testing methodologies:
    Concept
    Unit
    BOundary
    Integration
    Performance
    Load
    Acceptance
    Regression
    System
  • Concept testing is done early in a projects lifecycle and determines feasibility
  • Unit testing test individual components of code to test functionality
  • Boundary testing tests upper and lower limits of values that system can handle
  • Integration testing test the how the modules of a system can work together
  • Performance testing evaluates the performance of a system in normal conditions
  • System testing tests the whole system on a representative device, of the end systems deployment
  • Acceptance testing verifies if the program meets client requirements and ease of use
  • Regression testing tests a programs compatibility with older versions of dependencies
  • Load testing tests the ability of a program to handle a large number of users simultaneously
  • Root cause analysis helps people find out why a problem occurred in the first place.
  • RCA has 3 specific steps:
    Work out
    What happened
    Why it happened
    How to prevent it
  • What is the purpose of RCA?

    To prevent a problem from happening again
  • 5 why's approach is composed of 7 steps and in simple terms the steps are?
    Gather a qualified team
    Understand problem as cause of issue
    Ask why the orginal cause happened
    ASk the same question until fully broken down
    Identify the final useful answer as the root cause
    Address the root cause
    Consider the effectiveness of the solution overtime
  • Test plans assess how well a program functions and how well it meets the requirements.
  • You created a test plan for esp task 2, the columns should be:
    TestID
    Test description
    Test data
    Expected outcome
    Actual outcome
    Result
  • There are 2 main types of data
    Valid, which is data that should work including the inner boundary
    INvalid, which is data that shouldn't work including outer boundary and erroneous
  • A constraint of a program is a restraint on data coming
  • 6 data validation types?
    Range
    Length
    Type
    Presence
    Format
    Checksum digits
  • Range checks, check if a value is in a range
    length checks, check if a value is of a certain length
    Type checks, check if a value is of a certain type
  • Presence checks if a value is present
  • Format checks check if a value meets a certain format
  • Checksum digits checks, use a checksum formula and a checksum digit to check if data is assured