Mocking your SQL database in Go tests has never been easier. The copyist library automatically records low-level SQL calls made during your tests. It then generates recording files that can be used to play back those calls without connecting to the real SQL database. Run your tests again. This time, they'll run much faster, because now they do not require a database connection. Best of all, your t
A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. A pytest fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer. See calibration and FAQ. Free software: BSD 2-Clause License Installation pip install pytest-benchmark Documentation For latest release: pytest-benchmark.readthed
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery Meta License: MIT License (MIT) Author: Oleg Pidsadnyi Maintainer: Alessio Bogon Requires: Python >=3.8 pytest-bdd implements a subset of the Gherkin language to enable automating project requirements testing and to facilitate behavioral driven development. Unlike many other BDD tools, it does not
PerlでいうところのTest::TCP相当のことをPythonでやるライブラリをPyPIに上げました。ようやくPyPIデビューです。 https://github.com/nekoya/python-tcptest https://pypi.python.org/pypi/tcptest Test::TCPはPerlでテスト時に一時的にサーバを起動したりする処理の基盤となるライブラリです。同等のことをPythonでやるのに適当なものが見当たらなかったので自分で書いたという経緯です。 社内では以前からこの仕組みを使ってテストを書いていたのですが、自社のconfig系のライブラリとの結合を排除して、再構成したものになります。今回こうして公開するにあたって、関数名をオリジナルのPerl版に近付けたり、TestServerの実装を全面的に見直したりしました。 tcptestパッケージにはTest
Verified details These details have been verified by PyPI Maintainers gawel ianb iElectric Unverified details These details have not been verified by PyPI Project links Homepage Meta License: MIT License (MIT) Author: Ian Bicking Maintainer: Gael Pasgrimaud Tags wsgi, test, unit, tests, web Requires: Python >=3.6, <4
Meta License: MIT License (MIT) Author: Marc Schlaich Tags cover, coverage, pytest, py.test, distributed, parallel Requires: Python >=3.8 This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras: Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss. Xdist support: you can use all of pytest-xdist’s feature
pytest: helps you write better programs¶ The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries. pytest requires: Python 3.7+ or PyPy3. PyPI package name: pytest A quick example¶ # content of test_sample.py def inc(x): return x + 1 def test_answer(): assert inc(3) == 5 $ pytest ==========================
mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used. mock is now part of the Python standard library, available as unittest.mock in Python 3.3 onwards. This package contains a rolling backport of the standard library mock code compatible with Python 3.6 and up. Please see the standard
Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. Watchr is a continuous-testing tool by Martin Aumont in the vein of Autotest (part of the ZenTest package). At its heart, Watchr basically watches any (or all!) of your project's files, then executes arbitrary Ruby code of your choice when things change. Watchr configuration takes such a form: watch('pattern') { |match_da
View statistics for this project via Libraries.io, or by using our public dataset on Google BigQuery Meta License: BSD License (BSD-2-Clause) Author: Slavek Kabrda Maintainer: Adarsh Krishnan Tags mock, testing, test, unittest, pytest Requires: Python <4.0.0, >=3.8.0 flexmock - Mock, stub, and spy library for Python. Flexmock is a testing library for Python that makes it easy to create mocks, stub
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く