Source: Testfixtures
← Renderedmarkdown source:
---
description: Коллекция фикстур Testfixtures
tags: tests pip python
title: Testfixtures
---
Testfixtures is a collection of helpers and mock objects that are useful when writing automated tests in Python.
- Comparing objects and sequences
- Mocking out objects and methods
- Testing logging
- Mocking dates and times
- Testing stream output
- Testing with files and directories
- Testing exceptions and warnings
- Testing subprocesses
- Testing when using django
- Testing when using zope.component
[Документация](https://testfixtures.readthedocs.io/en/latest/)
Еще ссылки:
- [[тестирование]]
- [[pytest]]
- [[mock]]
- [[mock-libraries]]
- [[faker]]
[тестирование]: ../lists/%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5 "Основные принципы тестровния"
[pytest]: pytest "Pytest"
[mock]: mock "Mock-тесты"
[mock-libraries]: mock-libraries "Либы для создания моков"
[faker]: faker "Faker - пакет для создания фейковых данных для тестов"
[тестирование]: ../lists/тестирование "Основные принципы тестровния"
[pytest]: pytest "Pytest"
[mock]: mock "Mock-тесты"
[mock-libraries]: mock-libraries "Либы для создания моков"
[faker]: faker "Faker - пакет для создания фейковых данных для тестов"