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

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

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