CSE 270: Software Testing

W04 Activity: Regression and Integration Tests

Overview

The developers have finally figured out how to connect the web site to a live weather data source and are ready to test it out. The developers have also moved the information about the member directory from a static file deployed with the web site to an API call that reads data from a back-end system. The requirements of the system haven't changed, but their implementation has! This means we need to do a regression test.

Your are tasked with creating new test cases to include manual integration tests that will verify the interactions between the web site and the weather API, as well as interactions between the web site and the new directory data web service. You must also decide which of your test cases should be run in consideration of the changes to the system that have been made. This is called a limited regression test.

Preparation

To complete the regression and integration tests you will need to setup some testing tools and and test environment. Complete the following Activities.

Installing the Source Code

Typically, the developers will give you an installation package of some kind to install on your local environment, or it will be installed automatically on a dedicated testing environment. Today you will receive a .zip file which contains all the files you need to run the web site.

Download the code to test here:

cse270-v12.zip ⇩

Extract the files to a well known location on your computer. This will create a folder called cse270 with the files you need. If you are unsure how to extract files from a ZIP archive, ask a classmate or your instructor for assistance. Then click these links and follow those instructions.

Part 1: Create test plan

Instructions

You must have completed the previous activity W04 Activity: End to End Testing before beginning this activity. Using the information in the Teton Chamber of Commerce Requirements v 1.1 Document. This test plan will include 2 new test cases one for each integration (weather and data). It will also include selected tests from each component to perform a limited regression test.

Create New test cases

Create test cases to validate the APIs

Create a Test Plan

Create a test plan that will validate the two API services and perform a limited regression test

Document your test plan

Create a PDF of the new test plan you have created

Part 2: Execute the test

Instructions

Prepare Documentation

Submission

Submit the following artifacts in canvas.

Useful Links: