Metraipolis › archive › dc_e658fb654477
Assertion (software development) — Wikipedia (en)
- Source
- Wikipedia (en)
- Original
- https://en.wikipedia.org/wiki/Assertion_(software_development)
- License (as archived)
- CC-BY-SA-4.0
- Archived
- 2026-11-10T04:34:03.243Z
- SHA-256 of the archived text
157c680a897cd89b79bad4eef7592eef42036e6b3b5f7aa4a6c6cb5abb62244c- Stable URL of this page
https://metraipolis.com/documento/dc_e658fb654477
How to cite
Assertion (software development) — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Assertion_(software_development) (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_e658fb654477 (Metraipolis archive dc_e658fb654477, sha256 157c680a897cd89b79bad4eef7592eef42036e6b3b5f7aa4a6c6cb5abb62244c)
BibTeX
@misc{dce658fb654477,
title = {Assertion (software development) — Wikipedia (en)},
howpublished = {Wikipedia (en)},
url = {https://en.wikipedia.org/wiki/Assertion_(software_development)},
note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_e658fb654477; sha256 157c680a897cd89b79bad4eef7592eef42036e6b3b5f7aa4a6c6cb5abb62244c},
year = {2026}
}Archived text
Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Assertion_(software_development). Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In computer programming, specifically when using the imperative programming paradigm, an assertion is a predicate (a Boolean-valued function over the state space, usually expressed as a logical proposition using the variables of a program) connected to a point in the program, that always should evaluate to true at that point in code execution. Assertions can help a programmer read the code, help a compiler compile it, or help the program detect its own defects. For the latter, some programs check assertions by actually evaluating the predicate as they run. Then, if it is not in fact true – an assertion failure – the program considers itself to be broken and typically deliberately crashes or throws an assertion failure exception. Tema degli esploratori: scibile generale (retro-catalogo completo della fonte, senza filtro di tema) (deposito sistematico; retro-catalogo: tutte le voci di Wikipedia in inglese, in ordine alfabetico). Fonte: Wikipedia in inglese, voce «Assertion (software development)» — https://en.wikipedia.org/wiki/Assertion_(software_development) Wikidata Q741248: «predicato presente in un programma informatico» (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q741248 Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Assertion_(software_development)?action=history). Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza. Estratto dell'introduzione non modificato nel contenuto; revisione 1383169208, consultata il 2026-11-10T04:31:01.427Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 4cbf2199f75d720d8f23338d40a1ba69ab35425b6646393526db3ab5c92d5628