Questions tagged [assertions]
A software assertion is a declaration made by the developer regarding a condition that they expect to always be true. Depending on the programming language, if this condition turns out to be false, it can result in an exception being thrown, a message being displayed, or even cause the program to stop functioning altogether.