By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software...

28
By: Taylor Helsper

Transcript of By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software...

Page 1: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

By: Taylor Helsper

Page 2: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Introduction

Bug Tracking

Progress Tracking

Version Control

Conclusion

Questions

Page 3: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What is this lecture?◦ Part of a CSE 4000 Independent Study Course

◦ “Practical Issues in Software Engineering”

What’s the point?◦ To provide practical information to students in

Software Engineering topics

Note: The products referenced in these slides are merely examples used to teach and there are other alternatives available. This is not an endorsement of the products.

Page 4: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Introduction

Bug Tracking

Progress Tracking

Version Control

Conclusion

Questions

Page 5: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Why?

◦ Communication

Developer –> Developer

Tester –> Developer

◦ Statistics

Progress Reporting

Page 6: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What to use?

◦ Bugzilla - http://www.bugzilla.org/

◦ FogBugz - http://www.fogcreek.com/

◦ BugZap- http://www.bugzap.org/

◦ DefectManager - http://www.tierasoft.com/

Page 7: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Web based bug tracking tool

Has all necessary features

◦ Multi-user

◦ Tracking

◦ Simple

Page 8: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Lets try it out

Username: [email protected]: msstate

https://landfill.bugzilla.org/bugzilla-4.0-branch/

Page 9: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Introduction

Bug Tracking

Progress Tracking

Version Control

Conclusion

Questions

Page 10: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What is it?

◦ Tracks progress of software development throughout it’s lifecycle

Why?

◦ Statuses

◦ Customer Communication

◦ Keeps people active

Page 11: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What to use?

◦ Microsoft Projecthttp://www.microsoft.com/project/

◦ Team Software Process Spreadsheethttp://www.sei.cmu.edu/tsp/

◦ Excel

◦ iTeamworkhttp://www.iteamwork.com/

Page 12: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples
Page 13: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples
Page 14: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Introduction

Bug Tracking

Progress Tracking

Version Control

Conclusion

Questions

Page 15: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What is version control?

Repository

class1.cppv3

main.cppv1

class1.hv1

class2.hv1

class2.cppv2

class2.cppv1

class1.cppv2

class1.cppv2

Page 16: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What is version control?

Repository

User 1

User 2 User 4

User 3

Page 17: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Why?

◦ Multiple people work on projects

◦ Automatic backups

◦ Authentication

◦ Tracking

Page 18: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

What to use?

◦ Current Version Control (CVS)

◦ Subversion (SVN)

◦ Mercurial

◦ Git

Page 19: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

4 Basic Actions

◦ Checkout

◦ Commit

◦ Update

◦ Resolve

Page 20: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Checkout

◦ Sets up access to a repository

◦ Retrieves all files for local access

CreatesLocal Copy

Repository

Page 21: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Commit / Add

◦ All editing is done locally, after checkout

Local Copy Repository

Page 22: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Update

◦ Updates your local copy with changes

Local Copy Repository

Page 23: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Resolve

◦ What if two people change and commit the same file?

User 1

Repository

User 2

main.cpp main.cpp

Page 24: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Where to get it?

◦ TortoiseSVNhttp://tortoisesvn.tigris.org/

◦ Integrate with your IDE

Netbeans

Eclipse…

Page 25: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Example

◦ CodeQuiz

repository svn://codequiz.com/CodeQuiz1

username dbms

password msstate

This example SVN server is no longer live.

Page 26: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Use Bug Tracking

Use Version Control

Use Progress Tracking when necessary

Page 27: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples

Information came from my general knowledge due to experience and classes here at MSU.

All images used have the appropriate links below them.

Page 28: By: Taylor Helsperweb.cse.msstate.edu/~allen/CSE 4000 - Practical Issues in Software... · Software Engineering topics Note: The products referenced in these slides are merely examples