/
Practical Software Engineering Fundamentals Practical Software Engineering Fundamentals

Practical Software Engineering Fundamentals - PowerPoint Presentation

natalia-silvester
natalia-silvester . @natalia-silvester
Follow
382 views
Uploaded On 2016-04-24

Practical Software Engineering Fundamentals - PPT Presentation

Software Development Practices and Methodologies Svetlin Nakov Telerik Corporation wwwtelerikcom Agenda Software engineering overview Requirements Design Construction Testing Project management ID: 291660

design software project requirements software design requirements project development testing test tests scrum engineering process code management methodologies agile

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Practical Software Engineering Fundament..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Practical Software Engineering Fundamentals

Software Development Practices and Methodologies

Svetlin Nakov

Telerik Corporation

www.telerik.comSlide2

Agenda

Software engineering overview

RequirementsDesignConstruction

TestingProject management

Development methodologies overviewThe waterfall

development process

Heavyweight methodologies

Agile methodologies, SCRUM and XPSlide3

Software Engineering

Requirements, Design, Construction, TestingSlide4

What is Software Engineering?

Software engineering

is the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software

Definition by IEEESlide5

Software Engineering

Software engineering is:

An engineering discipline that provides knowledge, tools, and methods for:Defining software requirements

Performing software designSoftware construction

Software testingSoftware maintenance tasksSoftware project managementSlide6

Software Development Activities

Software development always includes the following activities (to some extent):

Requirements analysisDesignConstructionTesting (sometimes)These activities do not follow strictly one after

another (depends on the methodology)!Often overlap and interact

Software Project ManagementSlide7

Software Requirements

Functional, Non-functional Requirements, SRSSlide8

Software Requirements

Software requirements

define the functionality of the system

Answer the question "what?", not "how?"Define constraints on the system

Two kinds of requirements

Functional

requirements

Non-functional

requirementsSlide9

Requirements Analysis

Requirements analysis

starts from a vision about the systemCustomers don't know what they need!

Requirements come roughly and are specified and extended iteratively

Prototyping is often used, especially for the user interfaceThe outcome is the Software Requirements Specification (SRS)Slide10

Software Requirements Specification (SRS)

The

Software Requirements Specification (SRS)

is a formal requirements documentIt describes in details:Functional requirements

Business processesActors and use-casesNon-functional requirementsE.g. performance, scalability, constraints, etc

.Slide11

Software Requirements

It is always hard to describe and document the requirements in comprehensive

wayGood requirements save time and moneyRequirements always change during the project!Good software requirements specification reduces the changes

Prototypes significantly reduce changesAgile methodologies are flexible to changesSlide12

Software

Requirements Specifications (SRS)

and UI Prototypes

Live DemoSlide13

Software Architecture and Software DesignSlide14

Software Architecture and Software Design

Software design

is a technical description (blueprints) about

how the system will implement the requirementsThe

system architecture describes:How the system will be decomposed into subsystems (modules)

Responsibilities of each module

Interaction between

the modulesPlatforms and technologiesSlide15

System Architecture Diagram – ExampleSlide16

Software Architecture Diagram – Example

16Slide17

Software Design

Detailed DesignDescribes the internal module structure

Interfaces, data design, process designObject-Oriented DesignDescribes the classes, their responsibilities, relationships, dependencies, and interactions

Internal Class DesignMethods, responsibilities, algorithms and interactions between themSlide18

Software Design Document (SDD)

The

Software Design Document (SDD

)Formal description of the architecture and design of the system

It contains:Architectural design

Modules and their interaction (diagram)

For each module

Process design (diagrams)

Data design (E/R diagram)

Interfaces design (class diagram)Slide19

Software Design

Document

Live DemoSlide20

Software Construction

Implementation, Unit Testing, Debugging, IntegrationSlide21

Software Construction

During the software construction

phase developers create the softwareSometimes called

implementation

phaseIt includes:Internal method designWriting the source code

Writing unit tests (sometimes)

Testing and debugging

IntegrationSlide22

Writing the Code

Coding

is the process of writing the programming code (the source code)

The code strictly follows the designDevelopers perform

internal method design as part of coding

The

source code

is the output of the software construction process

Written by developers

Can include unit testsSlide23

Testing the Code

Testing

checks whether the developed software conforms to the requirementsAims to identify defects (bugs)

Developers test the code after writing itAt least run it to see the results

Unit testing

is even better

Units tests can be repeated many times

System testing is done by QA engineersUnit testing is done by developersSlide24

Debugging

Debugging

aims to find the source of already identified defect and to fix itPerformed by developers

Steps in debugging:Find the defect in the codeIdentify the source of the problemIdentify the exact place in the code

causing itFix the defectTest to check if the fix is working correctlySlide25

Integration

Integration

is putting all pieces togetherCompile, run and deploy the modules as single system

Test to identify defectsIntegration strategiesBig bang, top-down and

bottom-upContinuous integrationSlide26

Coding != Software Engineering

Inexperienced developers consider coding the core of development

In most projects coding is only 20% of the project activities!

The important decisions are taken during the requirements analysis and designDocumentation, testing, integration, maintenance, etc. are often disparaged

Software engineering is not just coding!

Programmer

!= software engineerSlide27

Software Verification and TestingSlide28

Software Verification

What is

software verification?It checks whether the developed software conforms to the requirements

Performed by the Software Quality Assurance Engineers (QA engineers)

Two approaches:Formal

reviews

and

inspectionsDifferent kinds of

testing

Cannot certify absence of defects!

Can only decrease their ratesSlide29

Software Testing

Testing

checks whether the developed software conforms to the requirementsTesting aims to find defects (bugs)

Black-box and

white-box testsUnit tests, integration tests, system tests, acceptance testsStress tests, load tests, regression tests

Tester engineers can use automated test tools

to record and execute testsSlide30

Software Testing Process

Test planningEstablish test strategy and test plan

During requirements and design phasesTest developmentTest procedures, test scenarios, test

cases, test scriptsTest executionTest reporting

Retesting the defectsSlide31

Test Plan and Test Cases

The

test plan is a formal document that describes how tests will be performedList of test activities to be performed to ensure meeting the requirements

Features to be tested, testing approach, schedule, acceptance criteriaTest scenarios and test cases

Test scenarios – stories to be tested

Test cases

– tests of single functionSlide32

Test Plans and Test

Cases

Live DemoSlide33

Software Project ManagementSlide34

What is Project Management?

Project management

is the discipline of organizing and managing work and resources in order to successfully complete a project

Successfully means within defined scope, quality, time and cost constraintsProject constraints:

Scope

Time

Cost

QualitySlide35

What is Software Project Management?

Software project management

Management discipline about planning, monitoring and controlling software projects

Project planning

Identify the scope, estimate the work involved, and create a project schedule

Project monitoring and control

Keep the team up to date on the project's progress and

handle problemsSlide36

What is Project Plan?

The

project plan is a document that describes how the work on the project will be organized

Contains tasks, resources, schedule, milestones, etc.Tasks have start, end, assigned resources (team members), % complete, dependencies, nested tasks, cost, etc.

Project management tools simplify creating and monitoring project plansSlide37

Project Plan – ExampleSlide38

Development Methodologies

Waterfall, Extreme Programming, ScrumSlide39

What is a Development Methodology?

A

development methodology

is a set of practices and procedures for organizing the software development processA set of rules that developers have to follow

A set of conventions the organization decides to followA systematical, engineering approach for organizing

and managing software

projectsSlide40

Development Methodologies

The "Waterfall" ProcessOld-fashioned, not used todayRational Unified Process (RUP)

Very formal, lots of documentationMicrosoft Solutions Framework (MSF)Formal heavyweight approachAgile Development

ProcessesesE.g. Extreme Programming (XP), SCRUM, etc.Slide41

The Waterfall Development ProcessSlide42

The Waterfall Process

Software

Requirements

Software

Design

Implementation

(Coding)

Verification

(Testing)

Operation

(Maintenance)

The waterfall development process:Slide43

Requirements

System

Requirements

Formal Methodologies

Formal methodologies are heavyweight!

Software

Requirements

Analysis

Coding

Testing

Operations

Design

Analysis

Detailed

Design

Preliminary

Design

Document

UI Design Document

Test

Plan

Preliminary

Design

Software

Requirements

Specification

Program

Design

Design Review

Operating

Instructions

Coding

Integration

Testing

Usage

Code Review

Final

Design

Set of documents,

diagrams, etc.

Prelim.

ReviewSlide44

Agile DevelopmentSlide45

The Agile Manifesto

“Our highest priority is to satisfy the

customer through early and continuous

delivery of valuable software“

Manifesto for AgileSlide46

Incremental

Working software over comprehensive documentation

Cooperation

Customer collaboration over contract negotiationStraightforward

Individuals and interactions

over processes and tools

AdaptiveResponding to change

over following a plan

The Agile SpiritSlide47

Agile Methodologies

eXtreme Programming (XP)Scrum

Feature-Driven Development (FDD)Crystal family of methodologies

Adaptive Software Development (ASD)Dynamic System Development Model (DSDM)

Agile Unified Process (AUP)Slide48

Extreme Programming:The 12 Key Practices

The Planning Game

Small ReleasesMetaphorSimple Design

Test-Driven DevelopmentRefactoring

Pair ProgrammingCollective OwnershipContinuous Integration

40-Hour Workweek

On-site Customer

Coding StandardsSlide49

Scrum

Scrum is an iterative incremental framework for managing complex projectsScrum roles:

Scrum Master – maintains the Scrum processes

Product Owner – represents the stakeholders Team

– a group of about 7 peopleThe team does the actual development: analysis, design, implementation, testing, etc.

49Slide50

Scrum Terminology

SprintAn iteration in

the Scrum developmentUsually few weeksProduct Backlog

All features that have to be developedSprint Backlog

All features planned for the current sprint

50Slide51

The Scrum Process Framework

51Slide52

Scrum Practices

Sprint Planning MeetingAt the beginning of the sprint cycleEstablish the Sprint backlog

Daily Scrum stand-up meetingEach day during the sprint – project status from each team memberTimeboxed to 15 minutes

Sprint Review MeetingReview the work completed / not completed

52Slide53

Software Engineering Fundamentals

Questions?

?

?

?

?

?

?

?

?

?

?

http://academy.telerik.com