This project is designed to familiarize students with a FOSS that is widely used, the process for improving this mature application with a complex architecture, and raise their awareness of the FOSS community. JUnit is free and open source software (FOSS) that is written in Java. The scenario: You would like to contribute to JUnit as a tester and bug fixer. Read about the JUnit FOSS community to determine how..The instructions are intentionally obtuse. The student will examine a real world issue with no simple answer and determine how to address it. There is no answer on StackOverflow!

=== Directions: ===

=== Directions: ===

Line 53:

Line 54:

=== Assessment: ===

=== Assessment: ===

+

Suggested 100 point rubric

+

{| border="1"

+

|-

+

|'''How do you report a JUnit bug? How do you volunteer to fix a JUnit bug? (Each worth 10 points)''' || Correct || Partial Credit

|'''Additional Information''' || Everything that is necessary to completely answer all of the questions posed in this exercise cannot be found in a single location. Research will be required to successfully respond to all of the parts. Experiment AND think!

+

|'''Author''' || E Brannock

|-

|-

−

|'''Rights''' || Licensed JUnit

+

|'''Source''' || None

|-

|-

−

|'''Turn In''' ||

+

|'''License''' || http://creativecommons.org/licenses/

|}

|}

−

=== References: ===

+

=== Suggestions for the Open Source Project: ===

* [http://junit.org/ JUnit documentation]

* [http://junit.org/ JUnit documentation]

* [https://github.com/junit-team/junit/wiki/I-want-to-help! How to help with the JUnit FOSS]

* [https://github.com/junit-team/junit/wiki/I-want-to-help! How to help with the JUnit FOSS]

Part of your challenge is to find more resources.

Part of your challenge is to find more resources.

−

−

=== Background: ===

−

This project is designed to familiarize you with a FOSS that is widely used, the process for improving this mature application with a complex architecture, and raise awareness of the FOSS community. JUnit is free and open source software (FOSS) that is written in Java. The scenario: You would like to contribute to JUnit as a tester and bug fixer. Read about the JUnit FOSS community to determine how.

−

−

=== Directions: ===

−

Line 100:

Line 105:

[[Category: Learning_Activity]]

[[Category: Learning_Activity]]

[[Category:Quality and Testing]]

[[Category:Quality and Testing]]

+

+

[[Category: CS1]]

+

[[Category: CS2]]

+

[[Category: Good Draft]]

Latest revision as of 17:27, 8 March 2017

Solving A Bug

Title

SOLVING A BUG

Overview

JUnit is a large, mature free and open source software (FOSS) that is written in Java. Learners will read an open issue in JUnit, find resources to research and understand it, replicate the bug, produce some improved additional test cases while writing a better bug report, and describe the process required to fix the bug.

Prerequisite Knowledge

1) Including a library in a Java project 2) Running a JUnit Test Case (No in-depth knowledge of JUnit assumed)

Background:

This project is designed to familiarize students with a FOSS that is widely used, the process for improving this mature application with a complex architecture, and raise their awareness of the FOSS community. JUnit is free and open source software (FOSS) that is written in Java. The scenario: You would like to contribute to JUnit as a tester and bug fixer. Read about the JUnit FOSS community to determine how..The instructions are intentionally obtuse. The student will examine a real world issue with no simple answer and determine how to address it. There is no answer on StackOverflow!

Directions:

We will use one specific issue in JUnit to learn about the JUnit community.

Part 2 - Locate and describe the JUnit Issue

How is the issue categorized? Is this a bug or feature request or something else?

What date was it reported?

Has the issue been assigned?

How many participants in the discussion?

Part 3 - Reproduce the JUnit Issue

Using JUnit 4.12, the information supplied about the issue and any other information you may have found in your research answer the following questions:

Did the code shown execute?

Was your result/output the same as the author of the issue?

Take a screen shot of Eclipse when you reproduce the bug, and submit it in your report that answers these questions.

In your opinion, was this bug well-written and easy to understand for the first two cases? Why or why not?

Part 4 - Write an Improved Bug Report

There is a lot of missing information in this issue. Please supply three (at a minimum) pieces of information that should have been included in the description of the issue.

In a clear, and succinct manner provide a better description of the problem described. Please proved 2 additional test cases: one that is successful, one that is not. Show the unsuccessful/successful conclusion for each of your new test cases in screen shots.

Part 5 - What Next?

Assume that this bug sparks your curiosity. State an approach that you would take to find a solution for this bug. A VERY general outline is acceptable.

Outline the approach you would take to commit the fix for the issue if you have successfully coded it. A general outline is acceptable.

Deliverables:

Report (in Word .docx format) that includes screen shots.

Assessment:

Suggested 100 point rubric

How do you report a JUnit bug? How do you volunteer to fix a JUnit bug? (Each worth 10 points)