Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

JUnit Testing Assignment for CS 576: Investigating Open Source Software Testing, Exams of Computer Science

An assignment for cs 576: dependable software systems, focusing on junit testing in the open source world. Students are required to find a java application larger than 3000 lines of code with an associated junit test suite, build the application, evaluate the test suite, and report on the process and findings. Metrics tools are used to quantitatively evaluate the applications and test suites.

Typology: Exams

Pre 2010

Uploaded on 08/19/2009

koofers-user-3ul
koofers-user-3ul 🇺🇸

10 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download JUnit Testing Assignment for CS 576: Investigating Open Source Software Testing and more Exams Computer Science in PDF only on Docsity! CS 576 Dependable Software Systems JUnit Testing Assignment Please submit a PDF file via email. The file should be in the form id_JUnit1.pdf (in my case it would be jhk39_JUnit1.pdf). You should send the email to jayk@drexel.edu with the subject CS576 JUnit1 id (again, in my case the subject would be CS576 JUnit1 jhk39). If you have any questions, let me know and I will get back to you as soon as possible. The assignment will be due in 3 parts: - Part 1: Monday, July 17th, 2006 - Part 2: Monday, July 24th, 2006 - Part 3: Monday, July 31st, 2006 Introduction The purpose of this assignment is to investigate the use of JUnit in the open source world. We will look at open source applications and study their associated test suites. As part of the assignment, you will measure the quality of test suites for an application, develop a test plan, and extend the existing test suite for improved coverage. Objectives 1. To gain knowledge of developing an automated test suite for a large application. 2. To become familiar with installing and using testing tools. 3. To gain experience writing a test plan. 4. To gain an understanding of how well applications are tested in an open source setting. 5. To gain experience in understanding code written by others. Part 1: Getting Started The following describes the tasks necessary to complete this assignment. I recommend starting early in case you have trouble finding appropriate applications. 1. The first step of this assignment requires you to find one application. You can utilize any Java applications that you know of. The requirements of the applications are as follows: a. The source code must be available and written in Java, and the application must be larger than 3000 lines of code. b. Application must have an associated JUnit test suite. c. I recommend finding applications with build.xml files. This will make it much easier to install and execute the test cases. d. Potential places to find open source applications: i. Source Forge: http://sourceforge.net/ ii. Open Source Software in Java: http://java-source.net/ 2. 2. Once you find the applications you will need to build the application. After building the application, try out the application to get an idea of what the application is suppose to do. 3. Next run the associated JUnit test suite. The goal is to try to evaluate the test suite. How effective is the test suite? What are the tests testing? Are they good tests? 4. The next task is to try to quantitatively evaluate the test suite and applications through the use of metrics. You will need to find a source code metrics tool. Install the tool, and gather metrics for the applications and the test suites. A few metrics tools are listed below. Feel free to find others.
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved