PyShould is a Python DSL allowing to write expectations or assertions in almost natural language. The goal is to offer an expressive yet readable syntax to define the expectations in detail.
Under the hood it uses the PyHamcrest library of matchers to build complex matching predicates and great explanations when there is a mismatch.
Its primary use case is in unit testing, replacing the need for Python's native assertX methods. Its use is completely transparent to the unit testing runner used, since mismatches are reported using the standard AssertionError.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.7.1-bp156.3.2 info | GA Release | 2023-07-24 | 15 SP6 |
|
|
0.7.1-bp155.2.10 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.7.1-bp154.1.23 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.7.1-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.7.1-bp152.3.16 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.7.1-bp151.1.1 info | GA Release | 2019-06-18 | 15 SP1 |
|
|