Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python system testing Program Requirements: The Boundary value analysis technique checks the program with input values that are on or close to boundary values. The

Python system testing

image text in transcribed

image text in transcribed

Program Requirements: The Boundary value analysis technique checks the program with input values that are on or close to boundary values. The Boundary value analysis is best suited when input values are expected to be within some domain. We would like to go beyond the legitimate domain of input values. This is what we call Robustness testing. Here, we also select invalid values and see the responses of the program. Invalid values are also important to check for the behavior of the program. Consider a program termed as 'minimum' that reads a set of elements and prints the smallest of entered elements. The elements are required to be taken from user. Do not ask for the number of elements from the user. The elements are required to be split by a space. The elements should be added to the list only if they are integers, not alphanumeric and are not special characters. Make sure to use exception handling to handle different test cases. You are not allowed to use inbuilt function (min) from python library. Develop your own logic to find the smallest of entered elements. Concentrate on some typical and critical test cases as discussed below: Test Case 1: A very short list (of inputs) with the size of 1,2 , or 3 elements. Test Case 2: An empty list i.e., of size 0. Test Case 3: A list where the minimum element is the first or last element. Test Case 4: A list where the minimum element is negative. Test Case 5: A list where all elements are negative. Test Case 6: A list where some elements are real numbers. Test Case 7: A list where some elements are alphabetic characters and special characters. Test Case 8: A list with duplicate elements. Test Case 9: A list where one element has a value greater than the maximum permissible limit of an integer. [There is no limit for int in python3- with this test case, it would be confirmed] [Note: You may think of additional test cases beyond the given. Feel free to explore. Include in the table below if you find more.]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Expert Oracle Database Architecture

Authors: Thomas Kyte, Darl Kuhn

3rd Edition

1430262990, 9781430262992

More Books

Students also viewed these Databases questions

Question

=+ Are there additional forms of employee representation?

Answered: 1 week ago