Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an excel that contains 2 columns and, each columns have 20 different rows with random float numbers. A) Create a simple test platform with

Create an excel that contains 2 columns and, each columns have 20 different rows with random float numbers.

A) Create a simple test platform with pytest.

B) Create a PDFCreator class inside a seperate python file that takes 2 array input for line charts , and 4 input for line charts thresholds (Minimum and maximum limits)

C) Create one test case inside pytest. Pytest test case should be able to run with pytest command. (python -m pytest .)

D) Read the excel sheet inside the testcase. Check for each row values are within the pre-determined min/max ranges.

E) Test case should fail if values are not within the thresholds.

D) End of the test case execution, imported class PDFCreator should export one pdf file with 2 visualized graphs with threshold horizontal lines.

Note that : For visualization, matplotlib or seaborn libraries can be used.

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

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

What is anthropocentrism? How is it different from ecocentrism?

Answered: 1 week ago