Shekhar Verma(@shekhu_verma) 's Twitter Profile Photo

Exciting News! ๐ŸŽ‰

I'm thrilled to share that my first pull request has been merged into Pytest, one of the most prominent projects in the Python ecosystem!

Thanks to the amazing community for the help!
pytest.org

account_circle
Hamel Husain(@HamelHusain) 's Twitter Profile Photo

Who is creating a pytest-like tool for testing LLMs (where you can also track metrics, version data alongside code, etc)?

looking for OSS

account_circle
Real Python(@realpython) 's Twitter Profile Photo

๐Ÿ๐Ÿ“ฐ Write Unit Tests for Your Python Code With ChatGPT

In this tutorial, you'll learn how to use ChatGPT to generate tests for your Python code. You'll use the chat to create doctest, unittest, and pytest tests for your code.

realpython.com/chatgpt-unit-tโ€ฆ

๐Ÿ๐Ÿ“ฐ Write Unit Tests for Your Python Code With ChatGPT

In this tutorial, you'll learn how to use ChatGPT to generate tests for your Python code. You'll use the chat to create doctest, unittest, and pytest tests for your code.

realpython.com/chatgpt-unit-tโ€ฆ
account_circle
Rodrigo ๐Ÿ๐Ÿš€(@mathsppblog) 's Twitter Profile Photo

Iโ€™m at a pytest tutorial with Florian Bruhin and I just learned you can stack the parametrize mark!

Am I the only one who didnโ€™t know this?

You canโ€™t always use this but can be quite useful.

Iโ€™m at a pytest tutorial with @the_compiler and I just learned you can stack the parametrize mark!

Am I the only one who didnโ€™t know this?

You canโ€™t always use this but can be quite useful.
account_circle
Duthon(@Duthonn) 's Twitter Profile Photo

๐Ÿ๐Ÿ” Tip: Use fixtures to set up common test data or resources. Define a fixture function with the `pytestm.fixture` decorator, and then use it in your test functions by passing it as an argument. Clean and reusable!

account_circle
Bite Code!(@bitecode_dev) 's Twitter Profile Photo

Testing with Python (part 3): pytest setup

bitecode.dev/p/testing-withโ€ฆ

We move to a more realistic project setup, solving import problems, dealing with configuration and learning to live the inevitability of death.

Ok maybe not the last one.

account_circle
scriptable(@scriptable) 's Twitter Profile Photo

If you canโ€™t run all your Python tests in CI you can at least see if they compile.

Add this to you CI checks:

poetry run pytest -v -s --collect-only

cd

account_circle
being_fazl(@AlFuzayel) 's Twitter Profile Photo


Parameterized testing in pytest allows you to run the same test function multiple times with different sets of input parameters.

#SELENIUM_PYTEST_PARAMETRZE_TEST
Parameterized testing in pytest allows you to run the same test function multiple times with different sets of input parameters.
account_circle
Rodrigo ๐Ÿ๐Ÿš€(@mathsppblog) 's Twitter Profile Photo

It's over for now!

PyConDE & PyData Berlin came to an end and I'm very happy I got to attend this amazing conference!

Personal highlights include the lightning talks hosted by โœจTania Allard ๐Ÿ’€๐Ÿ‡ฒ๐Ÿ‡ฝ ๐Ÿ‡ฌ๐Ÿ‡ง & Valerio Maggio @[email protected] (even though I didn't get a chance to present one) and Florian Bruhin's pytest tutorial.

It's over for now!

@PyConDE came to an end and I'm very happy I got to attend this amazing conference!

Personal highlights include the lightning talks hosted by @ixek & @leriomaggio (even though I didn't get a chance to present one) and @the_compiler's pytest tutorial.
account_circle
Harrison Chase(@hwchase17) 's Twitter Profile Photo

โœ’๏ธWrite LLM tests as unit tests

AI engineers should write good tests for their application, just as software engineers write unit and integration tests

โญ๏ธWe've added a new testing workflow that helps bridge the gap

You can add a `unit` decorator to your tests, run in pytest,โ€ฆ

โœ’๏ธWrite LLM tests as unit tests

AI engineers should write good tests for their application, just as software engineers write unit and integration tests

โญ๏ธWe've added a new testing workflow that helps bridge the gap

You can add a `unit` decorator to your tests, run in pytest,โ€ฆ
account_circle
spiral mantra(@spiral_mantra) 's Twitter Profile Photo

Application Testing is a very important part of development. Using PyTest to implement Unit testing in Python can be very advantageous. Let us learn the significance of using PyTest.
.
.
Connect with us at spiralmantra.com/blog/pytest-foโ€ฆ or [email protected]
.

account_circle
Real Python(@realpython) 's Twitter Profile Photo

๐Ÿ๐Ÿ“ฐ Write Unit Tests for Your Python Code With ChatGPT

In this tutorial, you will learn how to generate tests for your Python code using ChatGPT. You will create doctest, unittest, and pytest tests for your code by chatting with ChatGPT.

realpython.com/chatgpt-unit-tโ€ฆ

๐Ÿ๐Ÿ“ฐ Write Unit Tests for Your Python Code With ChatGPT

In this tutorial, you will learn how to generate tests for your Python code using ChatGPT. You will create doctest, unittest, and pytest tests for your code by chatting with ChatGPT.

realpython.com/chatgpt-unit-tโ€ฆ
account_circle
watany(@_watany) 's Twitter Profile Photo

ใ“ใ‚Œpytestใฎใจใใฏใ€Œtest_ใ€ใŒprefixใงๅŒใ˜ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใซ่ปขใŒใ—ใฆใ‚‚ใ€ใƒ•ใ‚กใ‚คใƒซๅ็š„ใซใƒ†ใ‚นใƒˆใƒ•ใ‚กใ‚คใƒซใงๅ›บใพใฃใกใ‚ƒใ†ใฎใงๅˆ†ใ‹ใ‚‰ใชใ‹ใฃใŸใชใ€‚ๆ‹กๅผตๅญใฎๅ‰ใ ใจ้šฃใซ็ฝฎใ‘ใ‚‹ใฎใง่ฆ‹ใ‚„ใ™ใ„

account_circle