Exercise On Software Testing Limitations And Terminology On Elixir Function — Tentamen Software Testing Blog

Image for post
Image for post
Image by Andrew Martin from Pixabay

TL;DR

In the previous post, we discussed is Test Case Obsolete In Modern Testing. With that, we finished the section on Software Testing Limitations And Terminology, and it is time for an Exercise. We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.

Software Testing Limitations And Terminology

To prepare for this exercise, you can read our blog posts:

Exercise

Please post your answers in the comments of this post.

  1. For what do testers use automation? What are the limitations of automation?
  2. How are faults and failures related to testing and debugging?
  3. Below are four Elixir faulty programs. Each includes a test case that results in failure. Answer the following questions about each program.

(a) Identify the fault.
(b) If possible, identify a test case that does not execute the fault.
© If possible, identify a test case that executes the fault but does not result in an error state.
(d) If possible, identify a test case that results in an error but not a failure. Hint: Don’t forget about the program counter.
(e) For the given test case, identify the first error state. Be sure to describe the complete state.
(f) Fix the fault and verify that the given test now produces the expected output.

Originally published at https://blog.tentamen.eu on October 20, 2020.

Written by

Founder of Tentamen, software testing agency.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store