Happy path
From Wikipedia, the free encyclopedia
|
|
This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (February 2007) |
| This article is an orphan, as few or no other articles link to it. Please introduce links to this page from related articles; suggestions are available. (December 2007) |
In the context of software, a happy path is a default scenario that features no exceptional or error conditions. For example, the "happy path" for a function that validates credit card numbers would be the one where none of the validation rules raise an error, thus letting execution continue successfully to the end, generating a positive response.
Happy path testing is a well-defined test case that uses known input, that executes without exception and that produces an expected output.
[edit] See also
| This computer software article is a stub. You can help Wikipedia by expanding it. |