Software Testing and Development Methodologies
24 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What can be identified through reviewing requirements?

  • Ambiguous or Unverifiable requirements, and requirements that aren’t defined clearly (correct)
  • Only non-testable requirements
  • Only clearly defined requirements
  • Only ambiguous requirements
  • What is a powerful technique for identifying defects in requirements?

  • Simulating the requirements
  • Reviewing the requirements (correct)
  • Defining acceptance criteria
  • Testing the requirements
  • What is a rigorous type of review that is one of the highest-value software quality practices?

  • Peer review
  • Walkthrough
  • Inspection (correct)
  • Informal review
  • What should be assembled for a peer review of requirements?

    <p>A small team of reviewers with different perspectives</p> Signup and view all the answers

    Why is it important to train team members in how to perform effective requirements reviews?

    <p>To improve software quality</p> Signup and view all the answers

    What type of tests are based on the functional requirements?

    <p>System tests</p> Signup and view all the answers

    When can test activities begin in parallel with development activities?

    <p>In parallel with the corresponding development activities</p> Signup and view all the answers

    What is a good practice of requirements validation?

    <p>All of the above</p> Signup and view all the answers

    What is the expected result when a user enters an order number to view and the order doesn't exist?

    <p>Display message 'Sorry, I can't find that order.'</p> Signup and view all the answers

    What is the purpose of acceptance criteria?

    <p>To determine if the solution meets user requirements</p> Signup and view all the answers

    What is the benefit of simulating the requirements?

    <p>It allows rapid building of executable mock-ups</p> Signup and view all the answers

    What is an important aspect of acceptance criteria?

    <p>All of the above</p> Signup and view all the answers

    What should users be asked to do to determine if the solution meets their needs?

    <p>To describe how they will determine if the solution meets their needs</p> Signup and view all the answers

    What is the purpose of a simulated system?

    <p>To validate requirements and make design choices</p> Signup and view all the answers

    What is a key aspect of acceptance testing?

    <p>All of the above</p> Signup and view all the answers

    What is the benefit of combining acceptance testing with other practices?

    <p>It supplements requirements elicitation and analysis</p> Signup and view all the answers

    What is the main purpose of writing tests in software development?

    <p>To document the expected behavior of the product under specified conditions</p> Signup and view all the answers

    What is the benefit of walking through tests with customers?

    <p>To ensure that the tests reflect user expectations</p> Signup and view all the answers

    What is the role of a Business Analyst (BA) in testing?

    <p>To write the functional requirements from the user requirements</p> Signup and view all the answers

    What is the purpose of mapping tests to functional requirements?

    <p>To ensure that all requirements have corresponding tests</p> Signup and view all the answers

    What can inconsistencies between functional requirements, models, and tests reveal?

    <p>Ambiguities in the user requirements</p> Signup and view all the answers

    What is the benefit of using tests in agile projects?

    <p>To replace detailed functional requirements</p> Signup and view all the answers

    What is the purpose of elaborating conceptual tests?

    <p>To create detailed test procedures for formal system testing</p> Signup and view all the answers

    What is an example of a use case that can be tested?

    <p>View Order</p> Signup and view all the answers

    Study Notes

    Validating the Requirements

    • Validation involves test activities beginning in parallel with corresponding development activities.
    • Acceptance tests are derived from user requirements.
    • System tests are based on functional requirements.
    • Integration tests are based on the system's architecture.

    Key Actions in Validation

    • Reviewing requirements (peer review, rigorous inspection, etc.).
    • Testing the requirements for documenting the expected behavior under specified conditions.
    • Defining acceptance criteria together with users and based on their requirements.
    • Simulating the requirements (simulations with mock-ups to validate requirements and make design choices if necessary).

    Good Practices of Requirements Validation

    • Reviewing requirements is a powerful technique for identifying ambiguous or unverifiable requirements.
    • Reviewing requirements helps identify requirements that aren't defined clearly enough for design to begin.
    • Reviewing requirements also helps identify other problems.

    Reviewing Requirements

    • Peer review of requirements, particularly the type of rigorous review called inspection, is one of the highest-value software quality practices available.
    • Assemble a small team of reviewers who represent different perspectives (analyst, customer, developer, tester).
    • Carefully examine the written requirements, analysis models, and related information for defects.
    • Informal preliminary reviews during requirements development are also valuable.

    Defining Acceptance Criteria

    • Ask users to describe how they will determine whether the solution meets their needs and is fit for use.
    • Acceptance criteria include a combination of the software passing a defined set of acceptance tests based on user requirements.

    Simulating the Requirements

    • Commercial tools are available that allow a project team to simulate a proposed system either in place of or to augment written requirements specifications.
    • Simulation takes prototyping to the next level, by letting BAs work with users to rapidly build executable mock-ups of a system.

    Testing the Requirements

    • Tests constitute an alternative view of the requirements.
    • Writing tests requires you to think about how to tell if the expected functionality was correctly implemented.
    • Derive tests from the user requirements to document the expected behavior of the product under specified conditions.
    • Walk through the tests with customers to ensure that they reflect user expectations.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    This quiz covers the parallel testing and development process, acceptance tests from user requirements, and the specific bases for system and integration tests.

    More Like This

    Software Testing Fundamentals
    18 questions
    Software Engineering and Testing Overview
    39 questions
    App Development and Methodologies Quiz
    48 questions
    Use Quizgecko on...
    Browser
    Browser