Design and Programming

Slides:



Advertisements
Similar presentations
Case Tools Trisha Cummings. Our Definition of CASE  CASE is the use of computer-based support in the software development process.  A CASE tool is a.
Advertisements

Software Configuration Management Donna Albino LIS489, December 3, 2014.
CS 501 : An Introduction to SCM & GForge An Introduction to SCM & GForge Lin Guo
Applied Software Project Management Andrew Stellman & Jennifer Greene Applied Software Project Management Applied Software.
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
Microsoft Visual Source Safe 6.01 Microsoft Visual Source Safe (MVSS) Presented By: Rachel Espinoza.
Source Code Management Or Configuration Management: How I learned to Stop Worrying and Hate My Co-workers Less.
1 CMPT 275 Software Engineering Revision Control.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Systems Software Operating Systems.
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
1 Shawlands Academy Higher Computing Software Development Unit.
Background The Encyclopedio of Life (EOL) is an ROR open source project to create a free, online reference source and database for every one of the 1.8.
Systems Software & Operating systems
Applied Software Project Management Andrew Stellman & Jennifer Greenehttp:// Applied Software Project Management Chapter 1: Introduction.
© 2012 IBM Corporation Rational Insight | Back to Basis Series Chao Zhang Unit Testing.
Introduction to Version Control
Subversion, an Open Source Version Control System An Introduction.
1 Lecture 19 Configuration Management Software Engineering.
By Touseef Tahir Software Testing Basics. Today's Agenda Software Quality assurance Software Testing Software Test cases Software Test Plans Software.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
1 The Software Development Process  Systems analysis  Systems design  Implementation  Testing  Documentation  Evaluation  Maintenance.
Version control Using Git Version control, using Git1.
…using Git/Tortoise Git
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
Computer Science and Engineering The Ohio State University  Widely used, especially in the opensource community, to track all changes to a project and.
Configuration Management and Change Control Change is inevitable! So it has to be planned for and managed.
Chapter 7 The Practices: dX. 2 Outline Iterative Development Iterative Development Planning Planning Organizing the Iterations into Management Phases.
Version Control Systems. Version Control Manage changes to software code – Preserve history – Facilitate multiple users / versions.
The Software Development Process
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
WinCvs. WinCVS WinCvs is a window based version control system. Use WinCvs when  You want to save every version of your file you have ever created. CVS.
© 2006 Pearson Addison-Wesley. All rights reserved 2-1 Chapter 2 Principles of Programming & Software Engineering.
SEG 4110 – Advanced Software Design and Reengineering Topic T Introduction to Refactoring.
Oman College of Management and Technology Course – MM Topic 7 Production and Distribution of Multimedia Titles CS/MIS Department.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
OPERATING SYSTEMS (OS) By the end of this lesson you will be able to explain: 1. What an OS is 2. The relationship between the OS & application programs.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
Applied Software Project Management SOFTWARE TESTING Applied Software Project Management 1.
CompSci 230 Software Construction
Configuration Management
Applied Software Testing
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Software Configuration Management
Software Project Configuration Management
Regression Testing with its types
Software Verification and Validation
Chapter 11: Software Configuration Management
Chapter 18 Maintaining Information Systems
Version control, using Git
Unified Modeling Language
Configuration Management
CVS revisions UML diagram
Maintaining software solutions
How to Fix Microsoft Office Error 2932 at Support Number
Configuration Management (managing change)
Version Control System
Applied Software Implementation & Testing
Some Important Techniques For Regression Testing That You Must Know.
Introduction to Configuration Management
X in [Integration, Delivery, Deployment]
Revision Control Daniel Daugherty
Software Engineering D7032E
Chapter 11: Software Configuration Management
Applied Software Project Management
Mutation Testing The Mutants are Coming! Copyright © 2017 – Curt Hill.
CMSC 345 Programming.
Applied Software Project Management
Overview Activities from additional UP disciplines are needed to bring a system into being Implementation Testing Deployment Configuration and change management.
Presentation transcript:

Design and Programming Applied Software Project Management

Review the Design Once the SRS has been approved, implementation begins. Programming teams have many options: The programmers can simply start building the code and create the objects and user interface elements. Designers can build a user interface prototype to demonstrate to the users, stakeholders and the rest of the team. Any code used to develop the prototype is typically thrown away once the design has been finalized. Pictures, flow charts, data flow diagrams, database design diagrams and other visual tools can be used to determine aspects of the design and architecture. An object model can be developed on paper, either using code, simple class diagrams or Unified Modeling Language (UML) diagrams. A written design specification may be created, which includes some or all of the tools above.

Review the Design Design tasks should always include reviews, even when there is no written design specification. Any written documentation should be reviewed and, if possible, inspected. It is important that the reviews and inspections reach the correct audience. Many users who have important input for the user interface may be uninterested or confused by object models and UML diagrams.

Version Control A version control system allows programmers to keep track of every revision of all source code files The main element of the version control system is the repository, a database or directory which contains each of the files contained in the system. A programmer can pick a point at any time in the history of the project and see exactly what those files looked like at the time. It is always possible to find the latest version of any file by retrieving it from the repository. Changing a file will not unexpectedly overwrite any previous changes to that file; any change can be rolled back, so no work will accidentally be overwritten.

Version Control There are two common models for version control systems In a copy-modify-merge system, multiple people can work on a single file at a time. When a programmer wants to update the repository with his changes, he retrieves all changes which have occurred to the checked out files and reconciles any of them which conflict with changes he made before updating the repository. In a lock-modify-unlock system, only one person can work on any file at a time. A programmer must check a file out of the repository before it can be modified. The system prevents anyone else from modifying any file until it is checked back in. On large projects, the team can run into delays because one programmer is often stuck waiting for a file to be available.

Version Control with Subversion Subversion is a free and open source version control system. It is available from http://subversion.tigris.org for many operating systems and platforms, including Linux, BSD, Solaris, BeOS, OS/2, Mac OS X, and Windows. Subversion provides many advanced features for bringing source code under control, but it takes only a few basic commands for a programming team to use a simple version control repository effectively.

Understanding Subversion The Subversion repository contains a set of files laid out in a tree structure The main difference is that the Subversion file system tracks every change that is made to each file stored in it. There are multiple versions of each file saved in the repository. The files in the repository are stored on disk in a database, and can only be accessed using the Subversion software. A Subversion repository has a revision number.

Refactoring Refactoring is a programming technique in which the design of the software is improved without changing its behavior. There are many choices that programmers make which do not affect the behavior of the software but which can have an enormous impact on how easy the code is to read and understand. Refactoring works especially well during code reviews. Because refactoring is a change to the design, it may impact the design review process. If previously reviewed code is refactoried, changes to that should be distributed to the review team.

Refactoring The example below demonstrates four of these refactorings: Extract Method, Replace Magic Number with Symbolic Constant, Decompose Conditional, and Introduce Explaining Variable. http://www.refactoring.com/catalog

Unit Testing Before a build is delivered, the person or program building the software should execute unit tests to verify that each unit functions properly. All code is made up of a set of objects, functions, modules or other non-trivial units. The purpose of unit testing is to create a set of tests for each unit to verify that it performs its function correctly. Programmers create suites of unit tests, where each test is a small block of code which exercises a specific behavior of one unit. The most common (and effective) way for programmers to do unit testing is to use a framework, a piece of software that automatically runs the tests and reports the results.

Test frameworks available for languages

Test All of the Code, Test All of the Possibilities A good test verifies many aspects of the software, including (but not limited to) these attributes: The unit correctly performs its intended functions. The unit functions properly at its boundary conditions (like null or zero values). The unit is robust (it handles unexpected values and error conditions gracefully).

Everyone is responsible for quality There are different kinds of testing that serve different purposes. Programmers use unit tests is to verify that the software works exactly as the programmer intended. Software testers are responsible for verifying that the software meets its requirements (in the SRS) and the needs of the users and stakeholders (in the Vision and Scope Document). Many defects arise when a programmer delivers software that worked as he intended, but did not meet the needs of the users. Software testers can catch these problems.

Everyone is responsible for quality Many programmers are confused about exactly what it is that software testers do. All they know is that they deliver a build to the QA team. The QA people run the program and find bugs, which the programmers fix. It is often hard for them to figure out where unit testing ends and functional testing begins. The project manager should watch for this confusion, and help to clarify it by making sure that the programmers understand what kinds of testing are expected of them.

Project Automation Many quality problems happen because the team does not build the software consistently, and loses track of the health of the code. Effective project automation reduces these errors. The team can adopt a tool which: Retrieves the latest build from the version control system, builds it, copies it to a folder, and reports any build warnings or errors Runs unit tests, generating a test report and reporting critical failures Runs automated code review tools, reporting any warnings or rule violations Lists any changes which have been committed and by whom, including links to code listings for the changes