DEFSOURCE ___A Project Presented to the Faculty Of
Total Page:16
File Type:pdf, Size:1020Kb
DEFSOURCE ____________ A Project Presented to the Faculty of California State University, Chico ____________ In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science ____________ by Amarjit Singh Fall 2011 DEFSOURCE A Project by Amarjit Singh Fall 2011 APPROVED BY THE DEAN OF GRADUATE STUDIES AND VICE PROVOST FOR RESEARCH: _________________________________ Eun K. Park, Ph.D. APPROVED BY THE GRADUATE ADVISORY COMMITTEE: _________________________________ _________________________________ Abdel-Moaty M. Fayek Tyson Henry, Ph.D., Chair Graduate Coordinator _________________________________ Seung-Bae Im, Ph.D. TABLE OF CONTENTS PAGE List of Tables.............................................................................................................. v List of Figures............................................................................................................. vi Abstract....................................................................................................................... ix CHAPTER I. Introduction.............................................................................................. 1 Bug Tracking Systems.................................................................. 2 Test Case Management................................................................. 2 Integrated Solution ....................................................................... 3 Documentation Layout ................................................................. 3 II. Background............................................................................................... 5 Bug Tracking Systems.................................................................. 5 Test Management Tool................................................................. 13 Conclusion.................................................................................... 18 III. The Solution ............................................................................................. 19 General Information ..................................................................... 19 User Authentication...................................................................... 19 Role-based Modules ..................................................................... 20 Feature considerations for DefSource 2.0 .................................... 23 IV. Implementation......................................................................................... 24 Object-Oriented Life Cycle Model............................................... 24 Requirement Analysis and System Specifications ....................... 25 Design and Implementation Phase ............................................... 27 iii CHAPTER PAGE V. Using DefSource...................................................................................... 32 Conventions.................................................................................. 32 Using the Application................................................................... 34 VI. Conclusion................................................................................................ 59 Development Experience.............................................................. 60 Lessons Learned ........................................................................... 60 Suggestions for DefSource 2.0..................................................... 61 References .................................................................................................................. 62 iv LIST OF TABLES TABLE PAGE 1. Pros and Cons of Bug Tracking Tools...................................................... 14 v List of Figures Figure Page 1. Object-Oriented Life Cycle Model........................................................... 24 2. The N-Tier Architecture ........................................................................... 28 3. Presentation, Business, and Data Access Architecture............................. 29 4. Mandatory Fields...................................................................................... 33 5. Search Filters in the ‘List Users’ Page...................................................... 33 6. User Authentication.................................................................................. 34 7. Administrator User Home Page................................................................ 35 8. Developer User’s Home Page................................................................... 35 9. Quality Analyst User’s Home Page .......................................................... 36 10. Project Manager User’s Home Page......................................................... 37 11. Create User Button Shown under ‘List Users’ Pane for the Administrator User............................................................................ 38 12. The User Profile Form .............................................................................. 39 13. Save User Button ...................................................................................... 40 14. Edit Links Highlighted.............................................................................. 40 15. The “Edit User” Form............................................................................... 41 16. Click “Save User” to Save the Updated Profile........................................ 41 17. Active Projects Listed under Project Management................................... 42 vi Figure Page 18. New Project Creation Form ...................................................................... 42 19. Edit and Delete Hyperlinks Displayed for All Listed Projects................. 43 20. Project Profile Form.................................................................................. 43 21. Module Management Page ....................................................................... 44 22. Module Creation Page .............................................................................. 44 23. The Module Edits Form............................................................................ 45 24. Click “Sign Out” to Log Out of DefSource.............................................. 45 25. My Tasks Pane for the QA User............................................................... 46 26. The Test Cases Update Form.................................................................... 48 27. Search Results for Test Cases................................................................... 49 28. The Test Results Screen............................................................................ 50 29. Bug Report Page ....................................................................................... 50 30. Summary Report....................................................................................... 52 31. Test Cases by Status ................................................................................. 52 32. Test Cases by Date.................................................................................... 53 33. Test Cases by Due Date ............................................................................ 53 34. Test Cases Assigned to QA ...................................................................... 54 35. Test Cases Authored by QA ..................................................................... 54 36. Test Cases by Schedule............................................................................. 55 37. ‘My Tasks’ Pane for the Developer User ................................................. 55 38. Bug Report Edit Page ............................................................................... 56 vii Figure Page 39. Summary Report for Developer User ....................................................... 57 40. Test Results by Status for Developer User ............................................... 57 41. Test Results by Date for the Developer User ........................................... 57 42. Test Results by Due Date for the Developer User.................................... 58 viii ABSTRACT DEFSOURCE by Amarjit Singh Master of Science in Computer Science California State University, Chico Fall 2011 DefSource is a practical and effective tool that integrates a bug tracking sys- tem with test case management features. By using such a solution, a quality assurance engineer can directly tag the failing test case into its associated bug report. This saves the effort of having to duplicate the steps run to reproduce the defect. DefSource is ca- pable of providing intelligent reports that can be used by management teams to make important decisions such as the readiness of the product to be shipped. Development and Quality assurance teams can also use these reports to gauge the progress of their respective teams. DefSource provides a search feature that can be used to filter test cases, bug reports and helps generate specific reports. Being a web based solution, DefSource is accessible to anyone irrespective of their physical location. This approach is especially useful for distributed teams which need 24/7 access to such a tool. DefSource is therefore operating system independent ix and has little to no footprint on the physical machine on which it is accessed. Since DefSource will be used by multiple teams for different reasons, the user interface is tai- lored based on the user role. For example, the primary view for the QA user is test case module whereas the development user has access to the bug tracking module. x CHAPTER I INTRODUCTION This