Week Assignment. Source Code Control (SCC) & Bug Tracking Systems. Hans-Petter Halvorsen

Similar documents
Week Assignment Source Code Control (SCC) & Bug Tracking Systems Hans-Petter Halvorsen

Source Code Control & Bug Tracking

Source Code Control. Quiz with Explainations. Hans-Petter Halvorsen, M.Sc.

Visual Studio Team Services

Team Foundation Server Visual Studio Team Services. Hans-Petter Halvorsen, M.Sc.

Software Testing. Hans-Petter Halvorsen, M.Sc.

Create a Virtual Test Environment

Week Assignment. Software Testing Test Planning. Hans-Petter Halvorsen

Team Assignment. Final Software Delivery. IA4412 Software Engineering

Introduction to ERwin

Software Development

Create Installation Packages in Visual Studio

Software Architecture

Using SQL Server in C#

Revision Control. How can 4. Slides #4 CMPT 276 Dr. B. Fraser. Local Topology Simplified. Git Basics. Revision Control:

Unit Testing. Quiz with Explainations. Hans-Petter Halvorsen, M.Sc.

Software Architecture

UML. Unified Modeling Language. Hans-Petter Halvorsen, M.Sc. O. Widder. (2013). geek&poke. Available:

GIT TUTORIAL. Creative Software Architectures for Collaborative Projects CS 130 Donald J. Patterson

How to Take the CI/CD Plunge

2/8/18. Overview. Project Management. The First Law. What is Project Management? What Are These Changes? Software Configuration Management (SCM)

Project Management. Overview

Version Control Systems: Overview

Review Version Control Concepts

Software Project (Lecture 4): Git & Github

CSC 2700: Scientific Computing

How to Build an Appium Continuous Testing Pipeline

Version Control Systems (Part 1)

Configuration Management

Version control CSE 403

Version Control Systems (VCS)

Version Control System GIT

Revision Control. Software Engineering SS 2007

Visualizing Git Workflows. A visual guide to 539 workflows

Revision control. INF5750/ Lecture 2 (Part I)

Software Engineering I (02161)

Index. Chaminda Chandrasekara 2017 C. Chandrasekara, Beginning Build and Release Management with TFS 2017 and VSTS, DOI /

Software Documentation

Was gibt es Neues Better Team Work with Cloud

What is JIRA? software development tool. planning and tracking the projects progress and supporting the team collaboration

Ingegneria del Software Corso di Laurea in Informatica per il Management (D)VCS. Davide Rossi Dipartimento di Informatica Università di Bologna

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc.

Database Systems. S. Adams. Dilbert. Available: Hans-Petter Halvorsen

Microsoft. Recertification for MCSD: Application Lifecycle Management

Programming. Languages & Frameworks. Hans-Petter Halvorsen, M.Sc. O. Widder. (2013). geek&poke. Available:

Revision control systems (RCS) and. Subversion

Table of Contents. Concepts

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 17, 2018

Azure Day Application Development. Randy Pagels Sr. Developer Technology Specialist US DX Developer Tools - Central Region

Distributed Version Control

Welcome! Virtual tutorial starts at 15:00 GMT. Please leave feedback afterwards at:

Software Systems Design. Version control systems and documentation

CSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Subversion (and Git) Winter 2019

Software configuration management

Technology Background Development environment, Skeleton and Libraries

Skyhook designs and deploys high performance mobile location solutions, and exists to make location faster, more precise and practical.

Welcome! Virtual tutorial will start at 15:00 GMT. Please leave feedback afterwards at:

Modern Requirements4TFS 2018 Update 1 Release Notes

Build/Test Windows 8 Apps with Team Foundation Service. Kevin DeRudder - Pieter Gheysens. April 12, 2013 Belgium (TBD)

CRMUG MS CRM Solution Packager Københavns Kommune

MATLAB Examples. Simulink. Hans-Petter Halvorsen, M.Sc.

Branching and Merging

Any platform. Achieve more. Team agility

UML. Quiz with Explainations. Hans-Petter Halvorsen, M.Sc.

TCSS 360: SOFTWARE DEVELOPMENT AND QUALITY ASSURANCE

Database Views & Stored Procedures. Hans-Petter Halvorsen, M.Sc.

LEVERAGING VISUAL STUDIO TEAM SYSTEM 2008 Course LTS08: Five days; Instructor-Led Course Syllabus

Revision Control and GIT

Getting started with GitHub

Week 5. CS 400 Programming III

CS314 Software Engineering Configuration Management

Versioning. Terms. Configuration item (CI) Version Configuration Management aggregate Configuration Baseline

FROM VSTS TO AZURE DEVOPS

University College of Southeast Norway. Web Services. with Examples. Hans-Petter Halvorsen,

PHP Development Best Practices: The Untold Story of Geekville

UPGRADING DEVELOPMENT SKILLS

Empirical Study on Impact of Developer Collaboration on Source Code

Enterprise Architect Visual Studio (VSTS) Integration

Exam Questions

Managing Network Configurations with Git and GitLab

Continuous translation with Weblate. Michal Čihař

Web Services Hans-Petter Halvorsen

GIT TO DA REPO! VERSION CONTROL, GITLAB, AND ISU

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

Version Control. Second level Third level Fourth level Fifth level. - Software Development Project. January 11, 2017

Manage quality processes with Bugzilla

CS 320 Introduction to Software Engineering Spring February 06, 2017

Turbo boost your digital app test automation with Jenkins

MATLAB Examples. Flow Control and Loops. Hans-Petter Halvorsen, M.Sc.

SQL Server and SQL Structured Query Language

GETTING TO KNOW GIT: PART II JUSTIN ELLIOTT PENN STATE UNIVERSITY

Tools for the programming mid-semester projects

Team Support and Versioning with ClearCase and CVS in WebSphere Business Modeler V7


University College of Southeast Norway. LM-900 Level Tank. Hans-Petter Halvorsen,

Software Implementation

Hotel-project Week 5-8: Implementation

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2

TFS for SQL/BI Developers. Dave Fackler Business Intelligence

Working in Teams CS 520 Theory and Practice of Software Engineering Fall 2018

Transcription:

2017.03.06 Week Assignment Source Code Control (SCC) & Bug Tracking Systems B. Lund. Lunch. Available: http://www.lunchstriper.no, http://www.dagbladet.no/tegneserie/lunch/ Hans-Petter Halvorsen

Note! All Documents, Code, etc. you create should be uploaded to Visual Studio Team Services (VSTS) Week Assignment 1. SCC Systems Overview Everybody should collaborate creating a document giving an overview of SCC systems today. Get an Overview of 2-4 SCC Systems/Team. 2. Bug Tracking & Reporting in Visual Studio Team Services (VSTS) -> Work Items - Bug 3. Cont. Implementing your System with focus on Source Code Control Try to use some of the more advanced Source Code Features in VSTS See Next Slides for more details...

Introduction Source Code Control (SCC) & Bug Tracking Systems Hans-Petter Halvorsen, M.Sc.

SCC Source Code Control Systems Hans-Petter Halvorsen, M.Sc.

Source Code Control/Version Control What is it? A version control system keeps track of all work and all changes in a set of files (typically your code files, but also other files) Allows several developers (potentially widely separated in space and time) to collaborate and work on the same code Check Out Code when you are going to update the Code Check In Code when you are finished updating the Code All Software Developers need it!! https://en.wikipedia.org/wiki/version_control

SCC Systems Concurrent Versioning System SVN

Cloud-based SCC Hosting Services Visual Studio Team Services (www.visualstudio.com) TFVC or Git GitHub (www.github.com) GitLab (www.gitlab.com) Bitbucket (www.bitbucket.org) Mercurial or Git

Source Code Control SCC Repositories Cloud-based SCC Hosting Services (Monthly payment/5 users free of charge/free for open source projects) Git TFVC or Git Git or Mercurial

Centralized/Client Server Architecture Client Client Client Network Client Server Repository Repository: Source Code Database

Distributed Version Control Systems Repository peer-to-peer peer-to-peer Repository Repository Repository: Source Code Database Repository

Source Code Control @ Google Why Google Stores Billions of Lines of Code in a Single Repository https://youtu.be/w71btkubdqe ( 30min)

Note! - You should always download the latest version of the code from the SCC system and test that you dont get any compiler errors before you Check-in the Code you have updated - If not, your team members may become very angry!

Breaking the Build

Bug Tracking Systems Hans-Petter Halvorsen, M.Sc.

Bug Tracking Systems A bug tracking system or defect tracking system is a software application that keeps track of reported software bugs in software development projects. It may be regarded as a type of issue tracking system. Typically bug tracking systems are integrated with other software project management applications e.g., Visual studio Team Services, Jira, Bugzilla, etc. https://en.wikipedia.org/wiki/bug_tracking_system

Bug Reporting and Tracking Example Developer Fix Bugs Check if Bug Fixes are Approved Tester Bug Tracking System Report Bugs Check if Bugs are Fixed Assign Responsible Test Manager, Person Project Manager, QA Department Go through Lists of Not Fixed Bugs, Fixed Bugs, etc.

Title Assign To (who shall fix the Bug) In which Module was the Bug found? When (in which Iteration) was the Bug found? You can also upload Screen shots! Important information! Important to Help the Developer to find the Bug Bug Reporting and Tracking in VSTS

Source Code Control Systems Get an Overview of 2-4 SCC Systems/Team All Teams should collaborate creating a common document that gives an overview of SCC systems today See Next Slides for more details...

Concurrent Versioning System SVN

Bug Tracking and Reporting with Visual Studio Team Services (VSTS) Make sure all your code is checked in into TFS before you start Perform Code Review/Testing of the Application/Module to another Developer in the Team Work Items: Report Bugs, New Features, etc. as Work Items in VSTS Create Queries: Make different Queries. Go through the Work Items in VSTS with the Developer. Prioritize them See Next Slides for more details...

Work Items and Queries Work Item/Bug Each member in the Group should report 2-5+ Bugs in VSTS Queries Each member should create at least 1 Personal Query (My Queries) and 1 Team Query (Shared Queries)

Title Assign To (who shall fix the Bug) In which Module was the Bug found? When (in which Iteration) was the Bug found? You can also upload Screen shots! Important to Help the Developer to find the Bug Important information!

Make Queries that can handle these situations! Bug Reporting and Tracking Example Developer Fix Bugs Check if Bug Fixes are Approved Tester VSTS Report Bugs Check if Bugs are Fixed Assign Responsible Test Manager Person or Project Manager Go through Lists of Not Fixed Bugs, Fixed Bugs, etc.

Bugs A software bug is an error, flaw, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways They found a bug (actually a moth) inside a computer in 1947 that made the program not behaving as expected. This was the first real bug. Debugging: Find and Remove/Fix Bugs

Bugs vs. Features It's not a bug - it's an undocumented feature J For as long as I've been a software developer and used bug tracking systems, we have struggled with the same fundamental problem in every single project we've worked on: how do you tell bugs from feature requests?

Bug Tracking in VSTS: Work Items In TFS you can create different Work Items, such as: Task (Developers break down their work into manable Tasks) Bug Feature (New Features reported by Testers/Customers, etc.) Scenario Issue User Story (This type is used in the Product/Sprint Backlog) Test Case etc. These Work Items will be used at different level in your development cycle. When the Testers reports bugs, they will use the Bug Work Item, etc.

Work Items New Bug Test your Application/System. Report Bugs in TFS/VSTS

Queries Used to find existing Work Items You may create different Queries to make it easy to find the Work Items you need Queries may be personal or visible for everybody in the project (Team Queries) Make one or more Queries in order to find your Bugs (Bugs reported on you) 30

Creating a Query - Example

@Me @Project @CurrentIteration @Today [Any] Query Variables

Set Administrator Rights Cannot Save Team Queries/ Shared Queries? Add Group Project Administrators

Source Code Control in VSTS Use some of the more advanced Source Code Features in VSTS (Give short Demo) Branching, Merging Labelling/Tag Change/Change List (History) Conflict File Locking See Next Slides for more details...

Typical SCC Features Check-out, Check-in/Commit Branching, Merging File Locking (avoid concurrent access) Label/Tag Change/Change List/Change History Conflict Revision, Iteration

SCC Features Check-out, Check-in/Commit Branching, Merging File Locking (avoid concurrent access) Label/Tag Change/Change List/History Conflict 1.0 Label/Tag it Braching 1.1 2.0 Work with Bug Fix Bug Fix Released Work with new Release Merging 2.0 Released etc. Branching in TFS: http://msdn.microsoft.com/en-us/library/ee782536.aspx

Hans-Petter Halvorsen, M.Sc. University College of Southeast Norway www.usn.no E-mail: hans.p.halvorsen@hit.no Blog: http://home.hit.no/~hansha/