Prepare an equivalence class test case

Assignment Help Software Engineering
Reference no: EM133673708

Task: Equivalence class testing using JUnit

Overview
In 3.2P task you have done boundary value analysis for the date increment/decrement problem to validate if a correct next (or previous) date is generated for a given initial date. In this task, you will need to do the same but create test cases using equivalence class test strategies which may include logically grouping the variables into several meaningful classes. You will need to use JUnit to write test cases. Prepare an equivalence class test case for any of Deakin's webpages (can include unit site, OnTrack or any other sitting within Deakin) ­ testing implementation is not required for this part.

Submission details
Use the instructions on the following page to carry out this task's steps.
For this task you will need to reuse the existing project task3_2P.zip which has DateUtil.java file where DateUtil class represents date information consisting of 3 variables ­ day, month and year. The value range of day: 1<=Day<=31, month: 1<=Month<=12, and year: 1700<=Year<=2024. DateUtil class has member functions to increment or decrement 1 day from the given day. You need to create test cases from equivalence classes and implement them in JUnit.
Submit a pdf combining below items ­
A screenshot of your Eclipse IDE's (i) JUnit tab which shows test statistics including Runs, Errors and Failures and (ii) Eclipse console which shows outputs.
Your program's source code for tests (DateUtilTest.java).
Equivalence class test case prepared for any of Deakin's internal website pages with justification why this kind of testing is suitable.
A screenshot of your GitHub page where your latest project folder is pushed.
You want to focus on the following key ideas, and make sure you can explain them in relation to your program.
Equivalence class testing
Unit test case creation using JUnit.

Instructions
For this task you will need to

Download task3_1P.zip Java project and unzip it in a common folder (say, java_projects) which you will be using to store all the weekly projects.
Import the project (as a maven project) in Eclipse IDE. Once imported, you can rename the project to task3_2C by right­click on project folder in Eclipse > Refactor > Rename.

Follow the steps mentioned in 3.1P to understand DateUtil.java and its test file.

Design equivalence classes for 3 variables day, month and year where days can be divided into 4 classes D1: day between 1 to 28, D2: 29, D3:30 and D4: 31. Month can be divided into equivalence classes of months having 30 days, 31 days and month of February. Years can be divided into years with or without a leap year.

There are 2 test failures that you need to correct by providing your name and id in the first 2 test cases.

Run the test, take screenshot of test statistic.

Upload your folder to your GitHub account and take a screenshot.
Your Task
Your task is to:

Design equivalence classes for the boundary conditions of DateUtil for 3 variables day, month and year. Use 3.1P as a base project.
You need to program test cases according to the equivalence classes you designed.

Reference no: EM133673708

Questions Cloud

Understand how to use loginform for 3 variables : Study Main.java to understand how to use LoginForm for 3 variables including username, password and validation-code. Create test cases as shown in the table
What crucial insights or trends have you unearthed : What industry or aspect of society have you designated for analysis? What crucial insights or trends have you unearthed?
What else are you automatically enrolled in : When you enroll in a program, what else are you automatically enrolled in?
Calculate the banks financing requirement : ACFI 450- Calculate the bank's financing requirement. What does bank's financing requirement mean for bank? How will it use information to manage its liquidity?
Prepare an equivalence class test case : Prepare an equivalence class test case for any of Deakin's webpages (can include unit site, OnTrack or any other sitting within Deakin) ­ testing implementation
Introduced waste management : You were introduced to waste management. What we do with our garbage
Drive system running open loop : Objective:To investigate the operation of a drive system running open loop. Operation of a power processingunit will be explored.
Identify a target element with alternative relative locator : Identify a target element with alternative relative locator API functions. Locate the Create account button and simulate a click action
Test a registration page using selenium : You will use Selenium APIs to open a customer registration webpage, locate input elements and populate with your own values

Reviews

Write a Review

Software Engineering Questions & Answers

  Poor database mission statement

Use internet to find an example of what you think is a good database mission statement. Then, find an example of what a poor database mission statement.

  Design program using four program development life cycle

Design a program using the four Program Development Life Cycle step (Analyze, Flowchart, Pseudocode, and Test).

  Web site distinguish between lack of capacity and a denial-o

a web site distinguish between lack of capacity and a denial-of-service attack? For example, web sites often experience a tremendous increase in volume of traffic right after an advertisement with the site's URL

  Create flowchart to calculate payroll of employee

Create a flowchart to calculate the payroll of each employee for one pay period. The flowchart should account for overtime as time and a half for any hours greater than 40.

  Analyse a problem and to design a solution

ITECH7410 Software Engineering Methodologies Assignment - Individual Roots of Polynomials - Quadratic. This assignment requires you to analyse a problem and to design a solution (without any programming), which the user interacts with, via a GUI

  Indicating whether the person has low income

The function should return the billing amount. Your program may prompt the user to enter the consulting time in minutes.

  Is open-source software enough to successfully run programs

How can each tool be helpful? Is open-source software enough to successfully run and implement PROGRAMS? Must a company purchase software to complete the job

  Describe the 7 step sdlc

Describe the 7 Step SDLC and Describe the 4 Step SDLC

  Sketching flowchart for people all in different departments

Sketch a document flowchart to depict each of the scenarios given below: Three people, all in different departments, look at the same document before it is eventually filed in a fourth department.

  Analyze error propagation

Analyze an architecture to determine whether the schedule is likely to be met and analyze error propagation

  Explain and justify the need for good hci practice

Explain and justify the need for good HCI practice and discuss the role of cognitive psychology in the design of user interfaces.

  Develop a use-case description for each major use case

Develop a use-case description for each major use case. Verify and validate the functional models for this case. Create a high-level requirements document which captures the major functions of the system.

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