Question
Objectives: The main objective of this assignment is to assess the students ability to provide a complete Black-Box testing plan for a computer program. Description
Objectives: The main objective of this assignment is to assess the students ability to provide a complete Black-Box testing plan for a computer program.
Description: In this assignment, you will need to design a complete Black-Box testing plan for the following program.
Researchers are preparing a simulation of an ecosystem, consisted of foxes evolving in an environment. To initialize the system, a population of foxes with randomly generated attributes must be created. You have been tasked with outputting such a population sample, where foxes have unique ids, starting from 0 and incrementing by 1, x and y coordinates, age, health (1-10), and gender. Furthermore, the population must follow the constraints of the environment, which will have a grid size (x and y scalars) which will be determined by the user.
The environment will also have one of the following climate types: tropical, temperate, or tundra. The health of the foxes will depend on age and climate. All foxes younger than 3 must have health from 7 to 10. Alternatively, the climate becomes the principal factor.
For tundra climates, extreme conditions persist on the northern-most part of the grid (top 20% of y coordinates) resulting in health ratings ranging from 1 to 4. For foxes older than 3 that live on other parts of the grid, health ranges from 4 to 7.
For tropical climates, the same applies but for the southern-most part of the grid(lower 20% of y coordinates).
For temperate climates, there are no extremes, but the animals health tends to deteriorate after 5 years, resulting to health ratings ranging from 1 to 4. Otherwise, 4 to 7 is the standard range.
User must input the following:
Environment: tundra, temperate, or tropical
Grid size x:
Grid size: y
Population size:
Maximum animal age:
Age, gender (50/50 chance split), coordinates, health must be randomly generated without violating any conditions specified above.
Use this information, to create a Black-Box testing plan for the program.
Task: You must design a complete Black-Box testing plan for the given program. Your task is to apply what you have learned about black-box testing techniques to develop a full suite of test data for this program. Use the template file provided in the Instructions and supporting files on BlackBoard to organize your tests and test data.
- Your file must include the following four sections with test data for each:
- Test data that covers representative inputs
- Test data that provides functional coverage
- Test data that provides for boundary-values testing
- Test data that implements special-values testing
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started