Comparison
flexmock vs mockito
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
flexmock is a testing library for Python that makes it easy to create mocks, stubs and fakes.
Maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install flexmockSpying framework
Maintained. Last release 8 months ago.
$
pip install mockitoIn short
- mockito is the most used: 1.3M downloads a month, 9.9× more than flexmock.
- Maintenance is comparable: mockito 67, flexmock 58 on Pythie’s Index.
- flexmock is growing fastest: downloads +32% over the last month.
- Safe default for a new project: mockito.