Solving A Bug
Solving A Bug
|Description||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.|
|Source||This activity is a specialization of the Solving_A_Bug.|
|Prerequisite Knowledge||1) Including a library in a Java project 2) Running a JUnit Test Case (No in-depth knowledge of JUnit assumed)|
|Estimated Time to Completion||120-180 minutes|
|Learning Objectives||Ability to: 1) Understand, investigate and report details on a real, poorly documented, unsolved issue in JUnit a FOSS application, 2) Reproduce a reported bug, 3) Write an improved bug report and 4)Describe the process required to fix the bug.|
|Materials/Environment||Java IDE configured with JUnit 4.12.|
|Turn In||Report that includes screen shots.|
Part of your challenge is to find more resources!!!!
Bug tracking systems are a form of change management and organization used by FOSS projects. Bug trackers do far more than simply keep track of bugs. They also are used to hold new feature requests, patches, and some tasks. Bug trackers are also called request trackers, issue trackers and ticket systems.
We will use the GNOME MouseTrap project to explore a typical Bugzilla instance for a project.
Part 1 - Bug Reports
- Open a browser and go to GNOME Bugzilla
- Enter 'MouseTrap' in the search bar.
- What do each of the column names below indicate? What are the range of possible values for 2-7 below?
- In what order are the bugs initially displayed?
- What is the meaning of the shading of some bug reports?
- What is the meaning of the colors used when describing a bug (red, gray, black)?
- What do the bug reports tell you about the current state of the system?
- Select a bug that you think that you might be able to fix and look at it more closely (click on the bug number).
- Identify when the bug was submitted.
- How understandable is the description?
- Identify if there has been recent discussion about the bug?
- Is the bug current?
- Is the bug assigned? To whom?
- What would we need to do to fix the bug?
- Repeat the previous step with a different kind of bug.
Part 2 - Collective Reports
This section refers to the entire GNOME project, not just MouseTrap.
- Click on the “Reports” link on the top of the page.
- Click on "Summary of bug activity for the last week."
- How many bug reports were opened in the last week? How many were closed?
- What was the general trend last week? Were more bugs opened than closed or vice versa?
- Who were the top three bug closers? Why is this important to know?
- Who were the top three bug reporters? Are these the same as the top three bug closes? What is the overlap in these two lists?
- Who are the top three contributors of patches?
- Who are the top three reviewers of patches? What is the overlap between these lists and the bug closers and bug reporters? What is the overlap between patch contributors and patch reviewers?
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License