Question: I got the code for it but I couldn't run it, could you please explain how to create packages and run them? INFT 1207 -Dr.

 I got the code for it but I couldn't run it,could you please explain how to create packages and run them? INFT1207 -Dr. Sukhwant Sagar Setting up the python Project: This In-Class exercise

I got the code for it but I couldn't run it, could you please explain how to create packages and run them?

INFT 1207 -Dr. Sukhwant Sagar Setting up the python Project: This In-Class exercise is related to Unit Testing. So, follow the protocols and conventions learnt during Week 5 and 6 sample codes. You are required to create a project as ICE3_firstname. Within the project, create a python package as ICE3. Within ICE3, create two python packages 'app' and 'test' and make your coding file in app package and testing file in test folder. Failure to follow this naming format makes it more difficult for me to download and grade your solution, so attention to this detail is appreciated. Program Requirements: Week 5 and Week 6 have taught us the importance of Unit Testing. The main objective of unit testing is to ensure that each individual part is working well and as it's supposed to work. The entire system will only be able to work well if the individual parts are working well. You have developed a program in ICE 2: To find minimum element from a list of integers. You had developed test case table verified by your coding solution. This in-class activity would require you to update ICE 2 to include unit testing of all those nine test cases. Updates to ICE2: Consider a program termed as 'minimum' that reads a set of elements and prints the smallest of entered elements. The list elements are required to be split by a comma in test case. 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. INFT 1207 -Dr. Sukhwant Sagar 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. If you are updating the below table with new test cases, submit the updated table too] ICE 3: Unit Testing (Individual) INFT 1207 -Dr. Sukhwant Sagar Expected Output: Things to Explore: You are welcome to explore beyond the mandatory requirements if you wish. General Requirements of the submission: - Include an opening comment with your full name, Date, Type of document and a short description. - Attach the zipped project and updated table (if any) to the assignment folder. - Make sure you are following PEP 8 standard guidelines of coding. - Include appropriate comments in the program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!