English 中文(简体)
Software Testing Dictionary

A

B

C

D

E

F

G

H

I

K

L

M

N

O

P

Q

R

S

T

U

V

W

Useful Resources

Selected Reading

Assertion Testing
  • 时间:2024-03-21 07:02:34

Assertion Testing


Previous Page Next Page  

What is Assertion based testing?

An assertion is a boolean expression at a specific point in a program which will be true unless there is a bug in the program. A test assertion is defined as an expression, which encapsulates some testable logic specified about a target under test.

Benefits of Assertions:

提出主张的主要好处是查明方案的缺陷。 主张的有用性包括:

    用于发现可能未知的微妙错误。

    它用于在错误发生后尽早发现错误。

    发言,说明保障该法典的效力。

Limitations of Assertion

与任何其他法典一样,主张本身也可能包含错误。 它可能导致以下问题:

    未能报告已经存在的障碍。

    报告不存在错误。

    可能导致其他副作用

    如果有错误,也留下记忆,就能够花时间执行。

How Assertions can block Testing ?

If an assertion is faipng due to one or the other reason, the consequence of the same can be severe. An Assertion could elevate to a stumbpng block which might result in stopping testing for a whole day. Some conditions that we wish to test for might be conceptually simple, but it is very difficult to check in practice.

Advertisements