Get All Weeks Introduction to Test Driven Development (TDD) Quiz Answers
Table of Contents
Week 01: Introduction to Test-Driven Development (TDD) Quiz Answers
Quiz 01: Introduction to Testing
Q1. At which level of the software testing process do developers test an individual component of the system?
Q2. During traditional release, what is the best environment to do performance testing?
ViewQ3. Behavior-driven development (BDD) focuses on the behavior of the system as observed from which perspective?
ViewQ4. Test-driven development (TDD) has which of the following advantages?
ViewQ5. Why do developers use test cases?
ViewQuiz 02: Introduction to Testing
Q1. Which aspects of your code can you test?
ViewQ2. After cloning a new repository for a project on which you will work, what should be your next step?
ViewQ3. Testing has which of the following benefits for development?
ViewQ4. At which level of the software testing process do developers combine individual units and test them as a group?
ViewQ5. In the software testing process, what is the purpose of acceptance-level testing?
ViewQ6. During the traditional release cycle, in which environment do developers perform unit testing?
ViewQ7. Behavior-driven development (BDD) has which of the following advantages?
ViewQ8. Test-driven development (TDD) focuses on how the system works as observed from which perspective?
ViewQ9. Why do developers need both test-driven development (TDD) and behavior-driven development (BDD)?
ViewQ10. What purpose do test cases serve?
ViewWeek 02: Introduction to Test-Driven Development (TDD) Quiz Answers
Quiz 01 : Methods for Test-Driven Development
Q1. Which of the following features is available in Nose but missing in Unittest?
ViewQ2. What is an assertion?
ViewQ3. Which of the following PyUnit assertions is useful for testing whether an object passed into it is the correct type returned from a function call?
ViewQ4. What is the purpose of using happy paths in testing?
ViewQ5. Why do developers use test fixtures?
ViewQ6. Developers use test fixtures for which of the following situations?
ViewQ7. What are the three levels of specificity at which test fixtures can operate?
ViewQuiz 02: Methods for Test-Driven Development
Q1. In the basic workflow for test-driven development (TDD), what happens in the second step?
View.
Q2. To create a DevOps pipeline, which type of testing must developers use for all testing?
ViewQ3. Which of the following Python testing frameworks is built into Python?
ViewQ4. Which of the following commands can developers use to invoke Python with the unit test module and to run all the tests in the test folder?
ViewQ5. Which of the following features is available in Nose but missing in Unittest?
ViewQ6. In which of the following ways do testing frameworks help developers build assertions?
ViewQ7. What purpose do assertions serve in testing?
ViewQ8. What is the purpose of using sad paths in testing?
ViewQ9. Test fixtures provide which of the following benefits for testing?
ViewQ10. PyUnit provides six test fixtures. Assume you include all six in a test module. Which of the following sequences shows the order in which the test runner will execute the first three test fixtures?
ViewWeek 03: Introduction to Test-Driven Development (TDD) Quiz Answers
Quiz 01: Advanced Methods for Test-Driven Development
Q1. What is test coverage?
ViewQ2. Why is continued testing important even at 100% test coverage?
ViewQ3. When generating fakes in Python, what is one purpose for using the Meta class inside the factory?
ViewQ4. Which of the following is a method for mocking?
ViewQ5. Which of the following is a patching technique available in Python’s mock library?
ViewQuiz 02: Advanced Methods for Test-Driven Development
Q1. Why is high test coverage valuable for development?
ViewQ2. Fake data is more practical to use than real data in which of the following testing situations?
ViewQ3. When generating fakes in Python, what is one purpose for using the Meta class inside the factory?
ViewQ4. How do developers test fakes generated by a factory?
ViewQ5. What is mocking?
ViewQ6. Developers should use mocking for which of the following purposes?
ViewQ7. When patching, developers change the behavior of which of the following testing items?
ViewQ8. For which of the following situations is it useful to patch return values with data?
ViewQ9. Mock objects are useful in testing for which of the following reasons?
ViewQ10. In Python, how do you make a Mock object mimic a specific real object?
ViewWeek 04: Introduction to Test-Driven Development (TDD) Quiz Answers
Quiz 01: Final Exam
Q1. Which of the following statements is a key principle of testing?
ViewQ2. Testing has which of the following benefits for development?
ViewQ3. At which level of the software testing process do developers test the entire software process?
ViewQ4. What is the purpose of integration testing?
ViewQ5. Behavior-driven development (BDD) ensures which of the following for developers?
ViewQ6. In the basic workflow for test driven development (TDD), what happens in the third step?
ViewQ7. In which Python testing framework can you use nearly an infinite number of setup and teardown levels?
ViewQ8. Assume you are using Python and have installed PyUnit, Nose, and Pinocchio. Which of the following commands can you use to perform unit tests and receive color-coded output?
ViewQ9. Which of the following PyUnit assertions is useful for determining if an object is in a result set?
ViewQ10. PyUnit provides six test fixtures. Assume you include all six in a test module. Which of the following sequences shows the order in which the test runner will execute the final three test fixtures?
ViewQ11. How does a missing test coverage report help developers improve their testing?
ViewQ12. When generating fakes in Python, what is one advantage of using the Faker class to generate fake data?
ViewQ13. Developers should use mocking for which of the following purposes?
ViewQ14. For which of the following purposes is it useful to patch return values with data?
ViewQ15. Developers use mock objects for which of the following purposes?
ViewGet All Course Quiz Answers of Software Product Management Specialization
Introduction to Software Product Management Coursera Quiz Answers
Software Processes and Agile Practices Coursera Quiz Answers
Client Needs and Software Requirements Coursera Quiz Answers
Agile Planning for Software Products Coursera Quiz Answers
Reviews & Metrics for Software Improvements Coursera Quiz Answers