pytest
PassingL2The quickstart ran to its target level in the latest cycle.
Read the quickstart docs(opens the vendor site)
Level 2: installs, and the code builds and its imports resolve; it is not run against the vendor.
- 30-day pass rate
- 100%
- Current streak
- 127 passing in a row
- Last checked
- Reached level
- L2
Last 60 runs
Oldest on the left. Select a run to open it.
- Passed
- Failed
- Did not run
- Harness error
- Needs a person
- Stale plan
Latest run
· 7.1 s · Full run details
1.Shell command
Passedpython3 -m venv .venv
- Docs source
- Docs block 5, line 1 under "Install pytest"
- Exit code
- 0
- Duration
- 1.7 s
2.Shell command
Passedsource .venv/bin/activate # on Windows: .venv\Scripts\activate
- Docs source
- Docs block 5, line 2 under "Install pytest"
- Exit code
- 0
- Duration
- 0.0 s
3.Shell command
Passedpip install -U pytest
- Docs source
- Docs block 5, line 3 under "Install pytest"
- Exit code
- 0
- Duration
- 3.1 s
4.Write file
Passedtest_sample.py
- Docs source
- Docs block 10, lines 1-6 under "Create your first test"
- Exit code
- 0
- Duration
- 0.0 s
5.Check: the code parses
Passed- Exit code
- 0
- Duration
- 0.2 s
6.Check: its imports resolve
Passed- Exit code
- 0
- Duration
- 0.1 s
Add the badge to your README
The badge shows passing, failing, verifying or unknown, and links back to this page.
Markdown
[](https://quickstartrot.vercel.app/tools/pytest-python)
HTML
<a href="https://quickstartrot.vercel.app/tools/pytest-python"><img src="https://quickstartrot.vercel.app/api/badge/pytest-python" alt="Quickstart status"></a>