Write unit tests for the calculator app developed

Assignment Help Web Project
Reference no: EM131077469

Task- Calculator App

Need a Calculator app inside the HTML5 <Canvas> element using vanilla JavaScript. It must perform basic arithmetic operations: Addition, Subtraction, Multiplication, and Division.

Use Visual Studio Community* as the IDE. To download Visual Studio:

https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx

Requirements:

1. The calculator only accepts numbers between -9999.99 and 9999.99
2. Internal calculations should truncate extra digits after the second decimal digit
3. Internal calculations should throw an error when the calculated number is out of range, and display it on the screen
4. The sign can be changed at any time when a number is entered
5. The display can be cleared at any time
6. Consecutive calculations are allowed before clearing the display

Deliverables:

1. Calculator app
2. Visual Studio project
3. UML
4. Any additional supporting documentation

Task 2 - Unit Test Framework

Write Unit tests for the Calculator app developed in Task 1. Design Test Cases must utilize requirements for application. You can choose to use any of the Black Box techniques that you think will be best for this case. The Unit tests should be performed with Chutzpah* employing Jasmine*.

Requirements:

1. The Test Cases must be implemented in Visual Studio using JavaScript.
2. Add Unit test modules to be able to separate execution of your tests in the Visual Studio Test Explorer.
3. Document code
4. Use Data Driven testing as necessary
5. Supporting documentation explaining chosen techniques.

Deliverables:

1. Test Plan
2. Test Case Design document
3. Supporting documentation of why Test Design Techniques were chosen
4. Visual Studio project
5. Any additional supporting documentation.

Reference no: EM131077469

Questions Cloud

The following system of non-linear equations : 1. In an Excel worksheet titled "Solver", solve the following system of non-linear equations using the Solver and find u, v, and t. Eqn
Middle eastern market : Lydia went out of town and wanted someone to feed her pet. Joe told me he gave her cat food. He has no reason to lie, and so I believe him. So, Joe gave Lydia cat food. That's a bizarre going away gift. So Joe gives very strange gifts.
Post your thoughts on perception vs reality of cyber threat : Read the article "Cyber Security Risk: Perception vs. Reality in Corporate America". After reading the article, please post your thoughts on the perception vs. reality of a cyber threat against a SCADA system.
Explain the concept of musical modernism : Explain the concept of musical Modernism. What historical events led to its development? What are the musical tendencies of this era of music? How did Modernist composers use the idea of melody, harmony, rhythm and timbre?
Write unit tests for the calculator app developed : Write Unit tests for the Calculator app developed in Task 1. Design Test Cases must utilize requirements for application. You can choose to use any of the Black Box techniques that you think will be best for this case.
Intended to design and implement a logic circuit : It is intended to design and implement a logic circuit for managing the places in a parking lot, disposed in a straight line, that meets the following specifications:
Derive a differential equation for geodesics : Math 121A: Homework 11. By using the Euler equation, derive a differential equation for geodesics in polar coordinates. (Note: the question asks you derive the differential equation, but not to solve it
Water in the fastest amount of time : Then you shake the jar violently for 1 minute and set the jar down. Which one of the following would settle the fastest, creating the clearest water in the fastest amount of time?
Amanda todd story : Describe at least two (2) types of bullying to which Amanda Todd was subjected. Identify at least three (3) consequences that Amanda Todd experienced as a result of being bullied, and discuss her attempts to deal with them.

Reviews

Write a Review

Web Project Questions & Answers

  Project charter developing a corporate website

Project Charter Developing a Corporate Website- The projects' major objective is to create a website for Offex Corporate. The creation of a website is expected to enhance the sales of the corporate in its business which is to trade office equipment..

  Create a goal in a google analytics account

Create a goal in a Google Analytics account and An analysis of the impact that the information which is generated in the form of reports will have on the client

  Agile project management

Imagine you are the project manager for a critical project for an organization. The organization wants to implement a state of the art real-time marketing campaign system. This system has many components.

  Project plan inception

Project Plan Inception

  Create wireframes web site design

Also create three Wireframes [storyboards] for your web site design (Home Page and two others). These are rough designs to show placement of navigation, text and other elements on each of the pages. These pages should indicate hierarchy in the pag..

  To enter commands insert an image clickable

To enter commands insert an image clickable and Submit nearly equal to the function

  How techniques assist in monitoring and controlling project

How do these techniques assist in monitoring and controlling the project activity?

  Explain is the web is changing users collectively

Is the Web (and Web multimedia) is changing users collectively or individually in profound or superficial ways. Can we see new cultural values being shaped or sub-cultures being formed which may permanently affect our cultural values.

  Create a web page for body systems

Body Systems is a leading manufacturers of home gyms. The company recently hired you to assist in developing its Web site. Your first task is to create a web page for the LSM400, a popular weight machine sold by the company. You have been given a ..

  Design and build a web site in html

Create your Implementation Plan: Design and build a web site in HTML that displays your Implementation Plan shown above.

  Create an internet website to sell the large inventory

convince the owner that the only way to sustain the business and increase revenue is to create an Internet Website to sell the large inventory of aquarium decorator items

  Project on basic design

Considering all reading and course discussions, design the physical security requirements for a privately owned three-story office and paper and computer storage facility.

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