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

What is a wireframe used for in web design

What is a Wireframe used for in Web design? Of what four conditions for use should you be aware when identifying your target audience? What is the benefit of viewing source co

Comparing email and email protocols

Discuss similarities and differences of the following email clients: Outlook, Outlook Express, Hotmail, Eudora, Mozilla Thunderbird, Opera Mail, Pine, and Lotus Notes.

Create a gui that uses jcheckbox jradiobutton and jtextarea

Create a GUI that uses JCheckBox, JRadioButton, JTextArea, and menus. You can code the GUI by hand or use NetBeans GUI builder interface. The GUI should useJRadioButtonto choo

How do you define statistics in business

How do you define "statistics" in business ? what are different types and levels of statistics ? what role does statistics play in business decision making? what are 3 example

Replacing elements through style attribute

The style attribute is replacing some elements in always evolving HTML world. Many features that were implemented using elements in older versions of HTML are implemented usin

Graphic image with attributes alt and align

CS110 Web Production - Rather than find a host and post our website as a final project, we will request a "Final HTML Project", one which presents a theme. It may be your se

One page must be the home page.

The Web site includes four or more Web pages designed according to current usability guidelines. One page must be the Home page. One page must be a subscription page that

Design and develop a web site for the bsit program

Purpose: To design and develop a web site for the BSIT program offered by the MSIS Department of College of Management, UMass Boston to promote this program to potential stu

Reviews

Write a Review

 
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