Skip to content

Instantly share code, notes, and snippets.

@asears
Created January 4, 2022 15:29
Show Gist options
  • Select an option

  • Save asears/4cbc59b33170958b0e515a6e732ac884 to your computer and use it in GitHub Desktop.

Select an option

Save asears/4cbc59b33170958b0e515a6e732ac884 to your computer and use it in GitHub Desktop.
Pytests

Pytest Resources

Pytest—Paramaterize tests with external data

https://remusao.github.io/posts/pytest-param.html

API Reference

https://docs.pytest.org/en/6.2.x/reference.html#request

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-doctest_namespace

https://docs.pytest.org/en/6.2.x/doctest.html

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-monkeypatch

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-pytestconfig

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-record_property

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-record_testsuite_property

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-recwarn

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-request

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-testdir

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-tmpdir_factory and tmp_path_factory

https://docs.pytest.org/en/6.2.x/reference.html#std-fixture-caplog

Hypermodern Python

https://cjolowicz.github.io/posts/hypermodern-python-05-documentation/

IceCream debugger

https://github.com/gruns/icecream

BirdsEye Debuger

https://github.com/alexmojaki/birdseye

https://birdseye.readthedocs.io/en/latest/integrations.html

https://marketplace.visualstudio.com/items?itemName=almenon.birdseye-vscode

IceCream + Snoop debugger

https://github.com/alexmojaki/snoop

Best of Web Python

https://github.com/ml-tooling/best-of-web-python

Tox / Nox

https://github.com/tox-dev/tox

https://github.com/theacodes/nox

Factory Boy

https://github.com/FactoryBoy/factory_boy

Fake Data

https://github.com/lk-geimfari/mimesis

https://github.com/joke2k/faker

Buildbot

https://github.com/buildbot/buildbot

Process Monitoring and Profiling

https://github.com/giampaolo/psutil

https://github.com/benfred/py-spy

https://github.com/nicolargo/glances

https://github.com/pyutils/line_profiler

https://github.com/alexmojaki/heartrate

https://github.com/csurfer/pyheat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment