pytest-dev/pytest: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing (opens in new tab)馃悕pythonContent type: Code

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing.. image:: .. image:: .. image:: .. image:: .. image:: .. image:: .. image:: .. image:: .. image:: .. image:: .. image:: :target: The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. An example of a simple test: .. code-block:: python # content of test_sample.py def inc(x): return x + 1 def test_answer(): ...

Read the original article
Sign in to keep reading the full article.

Cited by 2 articles

dev.toDEV
pypi.org

Keyboard Shortcuts

Navigation

Next / previous item
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help