Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SE 433/333 Software Testing & Quality Assurance Assignment 7 Black Box Testing Part 2: Test Case Implementation Due Date: February 28th, 2018, 11:59pm (in class

image text in transcribedimage text in transcribed

SE 433/333 Software Testing & Quality Assurance Assignment 7 Black Box Testing Part 2: Test Case Implementation Due Date: February 28th, 2018, 11:59pm (in class and on-line students) The Obiectives The objective of this assignment is to 1. 2. 3. design unit test suites using black-box techniques implementing the test suites using JUnit, and run the test suites using Ant. Problem In this assignment, you write a program to test. The specification is given below Design and implement a test suite using JUnit to adequately test the designated method. You may use any combination of black-box testing techniques to design the test cases. Use Ant to run the entire testing process, which includes compilation and the exccution of cach of the test suites Shipping Cost The program calculates the total amount of each customer order for an on-line retailer (Assignment 5). The total amount of an order is the sum of the total cost of the purchased items, the shipping cost, and applicable state sales tax. public static method calculateTotal with the following signature public static float calculateTotal(float rawTotal String shippingMethod String destinationState) The specification of the method is as follows: Input argument . rawTotal the raw total of all items in the order . shippingMethod the shipping method which can be destinationState the state of the shipping address Output: the total shipping cost calculated according to the rules describe in "Standard" or Next-Day" Problem 1 of assignment 5 (black box test case design)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions