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

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

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