Functional specification: Difference between revisions

Content deleted Content added
Reverted 1 good faith edit by 62.173.42.118 using STiki
 
(24 intermediate revisions by 18 users not shown)
Line 1:
{{Short description|Type of document}}
{{Refimprove|date=October 2008}}
[[Image:Specification and Levels of Development.jpg|thumb|360px|Systems engineering model of Specificationspecification and Levelslevels of Developmentdevelopment. During system development a series of specifications are generated to describe the system at different levels of detail. These program unique specifications form the core of the configuration baselines. As shown here, in addition to referring to different levels within the system hierarchy, these baselines are defined at different phases of the design process. Note: There is one minor (and ironic) typo in the image above. SI&T is "Systemsystem Integrationintegration and Testtest" not "Systemsystem Integrationintegration and Texttext". ]]
 
{{software development process}}
A '''functional specification''' (also, ''functional spec'', ''specs'', ''functional specifications document (FSD)'', ''functional requirements specification'') in [[systems engineering]] and [[software development]] is a document that specifies the functions that a system or component must perform (often part of a requirements specification) (ISO/IEC/IEEE 24765-2010).<ref>[http://www.iso.org/iso/catalogue_detail.htm?csnumber=50518 ISO/IEC/IEEE 24765:2010 Systems and software engineering — Vocabulary]</ref>
 
The documentation typically describes what is needed by the system user as well as requested properties of inputs and outputs (e.g. of the [[software]] system). A functional specification is the more technical response to a matching requirements document, e.g. the [[Productproduct requirements document|Product Requirement Document]] "PRD"{{Citation needed|date=April 2016}}. Thus it picks up the results of the [[requirements analysis]] stage. On more complex systems multiple levels of functional specifications will typically nest to each other, e.g. on the system level, on the module level and on the level of technical details.
 
== Overview ==
A [[function (engineering)|functional]] specification does not define the inner workings of the proposed system; it does not include the specification of how the system function will be implemented. Instead, it focuses on what various outside agents (people using the program, computer peripherals, or other computers, for example) might "observe" when interacting with the system.
 
A functional requirement in a functional specification might state as follows:
Line 14 ⟶ 15:
:''When the user clicks the OK button, the dialog is closed and the focus is returned to the main window in the state it was in before this dialog was displayed.''
 
Such a requirement describes an interaction between an external agent (the [[User (computing)|user]]) and the software system. When the user provides input to the system by clicking the OK button, the program responds (or should respond) by closing the dialog window containing the OK button.
 
== Functional specification topics ==
 
=== Purpose ===
There are many purposes for functional specifications. One of the primary purposes on team projects is to achieve some form of team consensus on what the program is to achieve before making the more time-consuming effort of writing [[source code]] and [[Test case (software)|test case]]s, followed by a period of [[debugging]]. Typically, such consensus is reached after one or more reviews by the [[Stakeholder (corporate)|stakeholder]]s on the project at hand after having negotiated a cost-effective way to achieve the requirements the software needs to fulfill.
 
# To let the [[Software developerProgrammer|developers]] know what to build.
# To let the [[testers]] know what tests to run.
# To let [[Stakeholder (corporate)|stakeholder]]s know what they are getting.
 
=== Process ===
In the ordered industrial software engineering life-cycle ([[waterfall model]]), functional specification describes ''what'' has to be implemented. The next, [[Systemssystems architecture]] document describes ''how'' the functions will be realized using a chosen software environment. In non industrial, prototypical systems development, functional specifications are typically written after or as part of [[requirements analysis]].
 
When the team agrees that functional specification consensus is reached, the functional spec is typically declared "complete" or "signed off". After this, typically the software development and testing team write source code and test cases using the functional specification as the reference. While testing is performed, the behavior of the program is compared against the expected behavior as defined in the functional specification.
 
=== Methods ===
One popular method of writing a functional specification document involves drawing or rendering either simple wireframeswire frames or accurate, graphically designed UI screenshots. After this has been completed, and the screen examples are approved by all stakeholders, graphical elements can be numbered and written instructions can be added for each number on the screen example. For example, a login screen can have the username field labeled '1' and password field labeled '2,' and then each number can be declared in writing, for use by software engineers and later for beta testing purposes to ensure that functionality is as intended. The benefit of this method is that countless additional details can be attached to the screen examples.
 
== Examples of functional specifications ==
* [[Advanced Microcontroller Bus Architecture]]
* [[Extensible Firmware Interface]]
* [[Multiboot Specificationspecification]]
* [[Real-time specification for Java]]
* [[Single UNIX Specification]]
 
== Types of software development specifications ==
* [[Bit specification (disambiguation)]]
* [[Design specification]]
* [[Diagnostic design specification]]
* [[Product design specification]]
* [[Software Requirementsrequirements Specificationspecification]]
 
== See also ==
* [[Benchmarking]]
* [[Software development process]]
* [[Specification (technical standard)]]
* [[Software verification and validation]]
* [[Verification and Validation (software)]]
 
== References ==
{{reflist}}
 
== External links ==
* [http://www.joelonsoftware.com/articles/fog0000000036.html Painless Functional Specifications, 4-part series by Joel Spolsky]
 
Line 69 ⟶ 70:
[[bs:Specifikacija programa]]
[[de:Pflichtenheft]]
[[fr:Cahier des charges fonctionnel]]
[[hr:Specifikacija programa]]
[[ja:プログラム仕様]]
[[pt:Especificação de programa]]
[[ru:Функциональная спецификация]]