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

  Build the web site for flyhigh

Build the web site for FlyHigh including the following content: Specific trip information travelers need to plan their ( costs, accommodations, options , and so on) and Information international customers will need ( passports , visas, vaccination..

  Create a web page using color or an image as a background

Create a web page using color or an image as a background, add an image into the body of text, and then add colors that are compatible to the design. You should also include some "mock" text to your page to show position of text.

  Project report

The Table of Contents is a key tool. Use it to format and organize your paper. You can use the headings below as the main sections of your paper. If you are unfamiliar with the Table of Contents utility in MS Word, check out the video in the Hub W..

  Benefits of using uml

Imagine that you are on a team that that has been tasked with creating an online course delivery system. One of your coworkers wants to model the entire course in UML. Another coworker disagrees with the use of UML and would rather use pseudocode ..

  Create a diagram of the organizational structure of web site

Create a diagram of the organizational structure of your web site will be (see tutorial 2). This is called a storyboard in your book. This is an example of information architecture task.

  Issues relating to electronic commerce

Your web design consultancy company has been invited to tender for the design of a web site for a newly formed business/organization.

  Identify and describe target market

Discuss the Website Development Process: Establish site objective-marketing, Identify and describe target market-market and Design site content and navigation structure-marketing with the aid of information architects

  Design and develop mobile web application

HC2051 Mobile Web Applications Development - you are required to design and develop mobile web application using any or all of the techniques you have learned in the class for example: HTML, CSS, Javascript etc.

  Create an original website using expressions web

Final Project - WebsiteDirections Create an original website using Expressions Web. Select an appropriate theme or topic. The following elements are required:

  Online debate on the role of online education in education

An online debate on the role of online education in education.

  Demonstrate the skill of creating a web page

Demonstrate the skill of creating a Web page that delivers audio and/or video content. Design and develop a Web site that includes at least two Web pages that meet the following requirements.

  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.

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