Write a non-trivial set of unit tests

Assignment Help Programming Languages
Reference no: EM132218031

Programming Languages Project - Unit Testing of Grade Analysis classes & functions

Assignment: Write a non-trivial set of unit tests.

The assignment is to write a set of unit tests against a Grade Analysis utility library. The library contains classes and functions for computing grade distributions, DFW rates, etc. A working library is provided, along with a set of non-working libraries. Your job is to write a set of unit tests that correctly identifies the working and non-working libraries.

As you know, testing is hard. The idea of unit testing is to approach the problem of testing in a more rigorous fashion. The idea is to design software with testing in mind, and then spend the time and effort necessary to develop rigorous tests to run against that software. Developing a suite of test cases can take as much time as it takes to develop the software itself. The benefit of this effort is (a) more confidence in the software being built, and (b) the ability to rerun these test cases as the software evolves.

Before you start, expect to spend at least 5-10 hours working on this project. Writing test cases is hard, and the expectation is that you'll write at least 10-20 non-trivial test cases as part of this project. The effort will be worth it, because you'll use these test cases in projects.

Assignment Details -

Homework #01 had you read about the Catch testing framework, and write a couple test cases involving a Student class. In this assignment, you're going to write test cases against a more sophisticated set of classes and functions that perform grade analysis.

Programming environment: Codio

For this project (and future projects) we'll be using the Codio system purchased by the department (and currently free to you). We are in the process of testing Codio, and if we like it, plan to roll it out to all CS students in the Fall of 2019. Codio is cloud-based, and accessible via a web browser. It's platform-neutral and works from any platform, but you must be online to use it.

Attachment:- Assignment File.rar

Reference no: EM132218031

Questions Cloud

How freedom or right to choose is important in ethics : Describe a personal example that supports your explanation. Describe how freedom or the right to choose is important in ethics.
Discuss the impact of the progressive movement on creation : Discuss the impact of the Progressive movement on the creation of the Arizona Constitution, including the declaration of rights.
Discuss application of psychological assessment instrument : Explain the criteria for using standardized scores in assessments. Discuss the application of a psychological assessment instrument in your workplace or future.
Research the code of conduct or ethics : Determine at least two (2) aspects in which ethics, morality, and how the law differs in regards to affecting the decisions of teachers in the classroom.
Write a non-trivial set of unit tests : CS 341 Programming Languages Project - Unit Testing of Grade Analysis classes & functions. Write a non-trivial set of unit tests
Analyse the leadership of leader working : Using relevant theories and models critically evaluate and analyse the leadership of a leader working in (business, government or not-for-profit) organisation.
How did gender stereotypes come to be : How did gender stereotypes come to be and why do they continue to persist? In this discussion, you will explore gender theories that help to answer.
Explain how knowing your ethical ideology could help you : Explain how knowing your ethical ideology could help you as a child and family life professional.
Discuss about the corporate social responsibility : Some believe that embracing Corporate Social Responsibility (CSR) can be a competitive advantage; others believe that doing so is inconsistent.

Reviews

len2218031

1/17/2019 11:10:03 PM

Please see the Programming assignment attached. Please provide us the confirmation if you can solve this, Grading will be based on the # of Grade Analysis implementations you correctly identify. For example, suppose you correctly identify the working implementation (step 1 above), and correctly identify one of the non-working implementations (one of steps 2..10 above). Then that’s 20 points out of 100. Then you would earn another 10 points for each non-working implementation you correctly identify for a max score of 100. There is no partial credit: the minimum score is 20/100, in which case you must correctly identify the working implementation, and at least one of the non-working implementations. When you are ready to submit your program for grading, first export your work from Codio using the Project menu, “Export as Zip”.

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd