alla flaggor
trixie  ] [  forky  ] [  sid  ]
[ Källkod: pytest-unordered  ]

Paket: python3-pytest-unordered (0.7.0-1)

Länkar för python3-pytest-unordered

Screenshot

Debianresurser:

Hämta källkodspaketet pytest-unordered:

Ansvariga:

Externa resurser:

Liknande paket:

Test equality of unordered collections in pytest

This library provides a utility to assert the equality of collections while ignoring the order of elements, a requirement often encountered when dealing with unordered datasets. Utilizing this library simplifies the process of verifying that collections contain equivalent items without necessitating a concern for order, which is especially useful in testing frameworks where external data sources might return data in non-guaranteed sequences. By incorporating functionality to operate within complex nested data structures, it enhances test writing by allowing precise order checking control, thereby minimizing boilerplate code and increasing readability. The ability to specifically designate unordered assertions within larger structured datasets provides a granular approach to type and element equivalence verification.

Andra paket besläktade med python3-pytest-unordered

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python3-pytest-unordered

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 9,3 kbyte35,0 kbyte [filförteckning]