Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exceptions And Automated Testing Assignment For this assignment, you are going to pretend that you are writing a variable sorter application that stores inputted variables

Exceptions And Automated Testing Assignment

For this assignment, you are going to pretend that you are writing a variable sorter application that stores inputted variables into lists based on their type.

In order to do this, you are going to create a VariableSort class that contains the following lists as properties on it:

  • A list of string values
  • A list of float values
  • A list of integer values

In addition, if a value is a string, it must only have upper- and lower-case values on it. No other values should make it onto your lists. In order to make this work, you are going to create methods to validate your data and place them into the proper lists based on their data type.

Your program must also have a main program loop that leverages your class and keeps asking the user for values until it's told to stop.

The rest of the implementation details are up to your discretion, applying the things you have learned about Python so far. Please note, however, that you must organize your class into a module and produce documentation (using Pydoc) for your work using the principles discussed earlier in the class. You must also include exception handling in your code according to the principles discussed this week.

You must also create a comprehensive set of test cases for your application applying the principles discussed this week. As well, your test cases must be stored according to the methods discussed this week in the lecture.

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_2

Step: 3

blur-text-image_3

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

What are the three types of selling objectives? lop857

Answered: 1 week ago