pytest.org @pytestdotorg
a full-featured Python testing tool to help you write better programs. /tweets by @the_compiler pytest.org Joined February 2015-
Tweets2K
-
Followers9K
-
Following61
-
Likes789
#pytest trick: Want to patch a function returning a different value on every call, without full unittest.mock? values = iter(["eggs", "bacon", "spam"]) monkeypatch.setattr(random, "choice", lambda: next(values)) assert random.choice() == "eggs" assert random.choice() == "bacon"
Got a lot of great feedback for my advanced #pytest training at #EuroPython2023! Next: 1 day basics, Sep 5th, @ @CH_Open Workshoptage, @ost_fh in Rapperswil 🇨🇭 (de): workshoptage.ch/workshops/2023… In-depth: Mar 5-7th 2024, Leipzig 🇩🇪/Remote @ @pyacademy (en): python-academy.com/courses/python…
Oh, looks like @jetbrains/@ThePSF sneakily released the #Python developers survey 2022 results at some point! The first thing I look at is always how testing frameworks changed compared to the year before😅 #pytest up from 50% → 51%, "None" down from 38% → 35%. Yay!
Almost 3 years after #pytest-xvfb 2.0.0, I released v3.0.0 today! Other than packaging/formatting/typing/Python version updates, this release hopefully fixes a long-standing "XIO: fatal IO error 0 (Success)" issue, and adds support for using Xephyr/Xvnc. github.com/The-Compiler/p…
#pytest 7.3 was released just at the beginning of the easter weekend, it brings multiple enhancements around tmppath retention and output details, but beware we learned of a windows only perf regression thats now under investigation
#pytest-html has a major release (4.0.0) coming in - please try rc4 pypi.org/project/pytest… to help iron out compatibility
My 3-day in-depth #pytest training (remote) will start in a week, and there are still spaces available! python-academy.com/courses/python… I'm afraid my pytest training for #PyConDE was not accepted, and I won't make it to #PyConIT this year. Planning to propose it for #Europython though!
Update on my in-depth #pytest training with @pyacademy: We decided to go remote-only as we only had one on-site signup. March 7th to 9th, still spaces available! python-academy.com/courses/python… My @PyConDE training is still in review, hoping to share more information there soon too!
Two weeks until early-bird pricing ends for my #pytest training with @pyacademy: March 7th to 9th 2023, both on-site in Leipzig 🇩🇪 *and* remote, three days full of knowledge from a pytest core maintainer! python-academy.com/courses/python… I submitted a (shorter) training to @PyConDE too!
I'm happy to announce the release of #pytest 7.2.0 a special perk is dropping the dependency on pylib - the rest is in docs.pytest.org/en/stable/chan…
PSA: #pytest users can safely ignore CVE-2022-42969 / github.com/advisories/GHS… in its py dep. The reported DoS "vulnerability" is in pylib's 18 year old SVN handling (py.path.svn*), which is not used in pytest, nor anywhere else to our knowledge. Details: github.com/pytest-dev/py/…
My next #pytest trainings: 1 day workshop at @enterpyconf 2022, Oct 28th (sold out) and Nov 4th (remote, German): enterpy.de/veranstaltung-… In-depth training Mar 7th-9th with @pyacademy, (Leipzig 🇩🇪 or remote, English): python-academy.com/courses/python…
Less than a month until my next planned #pytest training, September 8th at @CH_Open Workshoptage (🇨🇭, German): workshoptage.ch/workshops/2022… - unfortunately, only 2 sign-ups so far😢. Next up: In-depth training Mar 7th-9th with @pyacademy, (🇩🇪/remote, English): python-academy.com/courses/python…
What are your best Python testing tips? 🤔
PyConIT is over, and the next few #pytest trainings have been accepted! July 11th at @europython 🇮🇪: ep2022.europython.eu/session/pytest… September 8th at @CH_Open Workshoptage 🇨🇭 (German): workshoptage.ch/workshops/2022… In-depth March 7th-9th with @pyacademy 🇩🇪/remote: python-academy.com/courses/python…
Yay, #pytest has cracked 50%! So every second #Python developer is now using pytest (2021, up from 49% in 2020). Unfortunately, 38% are not using any test framework at all (up from 37% in 2020)...
pytest-xprocess 0.19.0 is out! Bringing improvements to how process resources are handled internally and dropping support for python 3.5/3.6. New contributors are always welcome, so feel free to reach out with any questions/suggestions you might have! github.com/pytest-dev/pyt…
For people planning to come to the #pytest tutorial at @PyConDE, handouts and code are ready now: t.cmpl.cc/pyconde.pdf t.cmpl.cc/pyconde.zip If you could download those and set up pytest before the training, that'd be great. The PDF has some basic instructions.
#pytest 7.1.1 has been released! This release fixes a regression in pytest 7.1.0 where some conftest.py files outside of the source tree (e.g. in the site-packages directory) were not picked up: github.com/pytest-dev/pyt…
Mike Driscoll @driscollis
118K Followers 1K Following I tweet about everything #Python Writing about Python @mousevspython @realpython Teaching at @TeachMePy Author of multiple books - https://t.co/MdP25zw5zQWill McGugan @willmcgugan
31K Followers 2K Following CEO / Founder of https://t.co/90g34bZPn7 Hyperborean Python expert, author, humanist, husband, sometimes wildlife photographer. He/him @[email protected]Sebastián Ramírez @tiangolo
65K Followers 384 Following Creator of @FastAPI, Typer, SQLModel, Asyncer, etc. 🚀 From 🇨🇴 in 🇩🇪 . Open Source, APIs, and tools for data/ML. 🤖Matt Harrison @__mharrison__
158K Followers 892 Following Python 🐍 + Data Science 🚀 trainer @__metasnake__ 🦜 Speaker ✍ Author 👨🏫 Instructor (@Stanford) 📣 DM for SponsorshipTestDriven.io @testdrivenio
35K Followers 163 Following Teaching practical programming through real-world applications. Tweets by @MikeHerman and @JanGiacomelli.Adam Johnson @AdamChainz
11K Followers 762 Following 🦄 @djangoproject technical board member 🍕@djangolondon ✍ https://t.co/dD766yZqqj - Boost Your {Django,Git} DX, Speed Up Your Django Tests ♂ He/himIndo pro fediverso: @.. @ramalhoorg
35K Followers 4K Following Vamo embora dessa josta. No fediverso do Mastodon você escolhe o servidor para a sua conta, e troca ideia com pessoas de outros servidores. CHEGA DE MONOPÓLIOS!Hynek Schlawack @hynek
12K Followers 147 Following ❤️ Python 🐍, Go 🐹, & DevOps 🔧 • blogger 📝 • speaker 📢 • @ThePSF fellow 🏆• 🗣🇨🇿🇩🇪🇺🇸 • 💙💛 • 🛟 @[email protected] / https://t.co/Xyj7qXGaSL@AlSweigart@mastodon... @AlSweigart
26K Followers 2K Following Author of "Automate the Boring Stuff with Python" and other programming books. This account is just promo stuff now, follow me on Mastodon. he/himBas Steins @bascodes
7K Followers 1K Following Software Developer | Consultant | Trainer #CoffeeChatter ☕ Tweets about 🐍 Python and Software Development 🗄️ Databases (SQL, NoSQL) ☁️ CloudComputing & DevOpsAnthony Sottile @codewithanthony
6K Followers 313 FollowingBob Belderbos @bbelderbos
10K Followers 1K Following Software developer passionate about building useful tools and helping people grow their #Python and #programming skills through @PybitesAnthony Shaw 🇦🇺.. @anthonypjshaw
22K Followers 3K Following Python, Cloud and OSS at Microsoft. Author of "CPython Internals". x3 Father, Christian, PSF Fellow, Fellow at Macquarie University @[email protected]Reuven M. Lerner @reuvenmlerner
27K Followers 1K Following Helping you become more confident with Python and Pandas. Corporate training. Newsletters. Courses. Books. Videos. I tweet my students' best Python questions!Simon Willison @simonw
71K Followers 5K Following Creator @datasetteproj, co-creator Django. PSF board. @nichemuseums. Hangs out with @natbat + @cleopaws. He/Him. Mastodon: https://t.co/t0MrmnJW0KMatplotlib @matplotlib
45K Followers 119 Following Python library for creating static, animated, & interactive visualizations. Chat w/ us @ https://t.co/QDNR5Khj9w Sponsored by @NumFocusStephen Gruppetta @s_gruppetta_ct
9K Followers 646 Following Constantly looking for simple ways to explain complex things in Python https://t.co/jLEyJqmURWEduardo Mendes 🦖 @dunossauro
15K Followers 503 Following Fellow @ThePSF, Musician, Esperantisto, Hacker, Pythonista, live coder, FLOSS enthusiast and content creator✨ Jeff Triplett ✨ @webology
9K Followers 2K Following Python, Django, Docker, Engineer, Partner at @revsys - Affiliations @ThePSF @defnado @djangocon @djangoproject - @[email protected]Seth Michael Larson @sethmlarson
3K Followers 457 Following @ThePSF Security Developer-in-Residence 🐍 PSF Fellow ✨ Minnesoootan, he/him https://t.co/Bd3K7TNj7bApurv Soni @apurv910
39 Followers 512 Following Punekar, Loves Art, Music & Food | Quality Engineering and Web AutomationSuresh Nampalli @nampallis
6 Followers 67 FollowingMadtyn @madtyn
339 Followers 392 Following Engineer. Tester and programmer. Python lover. I like RPG, anime, playing instruments and soccer. @Depor supporter. I appreciate critic but always constructive.Open Source Security .. @OSecurityIndex
178 Followers 299 Following The most popular and fastest growing open source security projectsJohn @Prozuane
0 Followers 65 FollowingMahendranath V K @Mahendranath_VK
9 Followers 73 Following Books, Economy, Cosmos, Tech and Brilliant Minds.Tony S @tonywilliam77
33 Followers 249 FollowingSalim Kachemela @ProfKache
296 Followers 923 Following Husband | Father of two | Software Developer | In ❤ with (Neo)Vim, Python & JavaScript.Diego Esteban @DiegoEs7eban
8 Followers 156 FollowingBernhard Schenk @SchenkBernhard
65 Followers 461 FollowingJeenJoh @jeen_john_
5 Followers 84 FollowingFaaltoo @Faal2too
32 Followers 112 FollowingCraftsman Neji @neji_craftsman
0 Followers 19 FollowingViswaaswaran J @ViswaaswaranJ
5 Followers 46 FollowingChris Wehner @ChrisWehnerPLO
357 Followers 679 FollowingLuis J. Medina Coca @luismedinacoca1
19 Followers 83 FollowingVanessa Bateup @ness_smiley
434 Followers 4K Following Always be yourself. There is no one better! :) ~selena gomez~fajitas @datafaji
9 Followers 55 Following portfolio account for Data Analytics and Data Viz ,ML @fajinextdoorQuazi Irfan @quazirfan
53 Followers 738 Followingking @bmwforever23
20 Followers 586 FollowingGenTwit User @GentwitUser
1 Followers 283 FollowingVikas S (Modi Ka Pari.. @for_hindustan
124 Followers 250 Following 🇮🇳 | 🚩| 👨💻 | 🌱 | 📸 | 🧗🏻♂️ | 🧘🏻♂️ | 👨🌾michael binzen🏡 �.. @mibi61
1K Followers 2K Following Intrapreneure & Selbstdenker & Wegbereiter & DB Ambassador #opendata @ Bitkom agile aficionado für Innovation, und OO-Connaisseur - noch mehr Buzzwords? ;-)Hassan Abedi 📚🌿.. @Hassan_Abedi
274 Followers 1K Following 📚 An avid reader | 🔄 A strange loop | 🛠️ I love building things | 💻 I like Python & SQL & Debian | 📊 Databases & 🤖 Machine Learning | 🚀 e/accKristofer @MrKristoferH
102 Followers 2K Following{Logyz} @AndrzejWinogra1
65 Followers 1K FollowingHubert Cymerys @hcymer
28 Followers 236 Followingふれ @furedea596
2 Followers 30 Following QU電情B2プログラマ 技術スタック: Python/Rust/Dart(Flutter)/TypeScript(React)/…etc 福岡未踏3期SolveMourad @MouradKarr36620
2 Followers 58 Followingjugem @jugeeem373
5 Followers 78 Following backend engineer. Recently, I'm relearning React. github link: https://t.co/uQHLXse9SgCort @i_odessa
20 Followers 978 FollowingEASTWATCH @NjugunaGitauu
64 Followers 474 Following I'm Njuguna, a real estate agent from Nairobi. I'm passionate about matching people with their perfect homes! Let's chat and see what I can do for you! #RealEstotpcr @xobjectz
61 Followers 192 Following The 117 communication record of the year 2019 to the Office of the Prosecutor of the International Criminal Court. !!Andreu @Andth23
178 Followers 851 Following Software architecture & data. CrossValidation maintainer: https://t.co/ned1VioMo5Manjunath @Manjuna32312993
67 Followers 405 Followingviswam @viswamraju
8 Followers 320 FollowingKhent @joxyoff
13 Followers 73 FollowingAntoine @AntoineBqt_
13 Followers 77 FollowingOr Moshe @ormsh22
18 Followers 96 FollowingHynek Schlawack @hynek
12K Followers 147 Following ❤️ Python 🐍, Go 🐹, & DevOps 🔧 • blogger 📝 • speaker 📢 • @ThePSF fellow 🏆• 🗣🇨🇿🇩🇪🇺🇸 • 💙💛 • 🛟 @[email protected] / https://t.co/Xyj7qXGaSLAnthony Sottile @codewithanthony
6K Followers 313 FollowingBob Belderbos @bbelderbos
10K Followers 1K Following Software developer passionate about building useful tools and helping people grow their #Python and #programming skills through @PybitesAnthony Shaw 🇦🇺.. @anthonypjshaw
22K Followers 3K Following Python, Cloud and OSS at Microsoft. Author of "CPython Internals". x3 Father, Christian, PSF Fellow, Fellow at Macquarie University @[email protected]Reuven M. Lerner @reuvenmlerner
27K Followers 1K Following Helping you become more confident with Python and Pandas. Corporate training. Newsletters. Courses. Books. Videos. I tweet my students' best Python questions!Simon Willison @simonw
71K Followers 5K Following Creator @datasetteproj, co-creator Django. PSF board. @nichemuseums. Hangs out with @natbat + @cleopaws. He/Him. Mastodon: https://t.co/t0MrmnJW0KEduardo Mendes 🦖 @dunossauro
15K Followers 503 Following Fellow @ThePSF, Musician, Esperantisto, Hacker, Pythonista, live coder, FLOSS enthusiast and content creatorDane Hillard 🐍 @da.. @easyaspython
3K Followers 658 Following 📚 Publishing Python Packages (https://t.co/cBGIxbRrA7) 🐍📦⬆️ 💻 Technical architect at @ithaka_org ✨ Web applications, design systems, and micro frontendsPython Software Found.. @ThePSF
652K Followers 132 Following The nonprofit organization behind the Python programming language. For help with Python code, see https://t.co/XDHPttz2Xv On Mastodon: @[email protected]Pandy Knight @AutomationPanda
8K Followers 1K Following Building excellent software! @CycleLabs Principal Architect. @playwrightweb Ambassador. #BoaConstrictor creator. Former @TestAutomationU Director. He/Him.David Cramer @zeeg
11K Followers 547 Following the most authentic person you know - @getsentry ; shipping https://t.co/Z9pUTnVBto whenever the mood strikesHéctor Canto @hectorcanto_dev
112 Followers 180 Following Software Engineer & Architect Pythonista; Agile & DevOps promoterDaniele Procida @evildmp
2K Followers 41 Following Director of Engineering at Canonical. Django core developer. I'm no longer using Twitter. Instead, I'm using Mastodon: @[email protected]Josh Grant @joshin4co.. @joshin4colours
1K Followers 1K Following Software developer who's into software, automation, quality, and big ideas. Opinions are mine. Him/he/theyBernát Gábor @gjbernat
2K Followers 425 Following SDE @Bloomberg LA. @ThePsf fellow. Maintainer of many - https://t.co/D1fF0WJR2G (tox, virtualenv, pipx, ...) Python packages. Opinions my own.Pedro Algarvio @s0undt3ch
184 Followers 197 FollowingFlorian Dahlitz 🐍 @DahlitzF
2K Followers 145 Following 🧑🏼💻 Developer ✍🏼 Writer 🎓 Instructor 🐍 Pythonista. Member of the @realpython and @pytestdotorg team. 💬 DMs are open. Currently learning Rust.Sentry @getsentry
16K Followers 287 Following Sentry helps developers see what actually matters, solve quicker, and learn continuously about their apps. Looking for support? ➡️ https://t.co/mibFcU2OF5.Python Visual Studio .. @pythonvscode
24K Followers 96 Following Follow us for news on the Microsoft Python extension for VS Code! 🐍 Come chat with us on Discord: https://t.co/CGEUgDHQXvLambert Labs @lambertlabs
146 Followers 160 Following Python-focused software development and cloud computing company with expertise across AWS, GCP and AzureCoverage.py @coveragepy
1K Followers 3 Following The coverage measurement tool for Python. Maintained by @nedbat. No longer here, moved to Mastodon: https://t.co/7nNXErA6UQPybites @pybites
31K Followers 249 Following Helping people from 120+ countries to improve their #Python/ #developer/ #mindset skills. Created by @bbelderbos & @juliansequeira. Join us: https://t.co/3aXqzdlZWxGreat Expectations @expectgreatdata
4K Followers 1K Following Great Expectations is revolutionizing data quality and collaboration. 💡 Join our Slack https://t.co/bUmXxekRmLDarlene Wong @__darlenewong__
382 Followers 1K Following Software Engineer👩🏻💻Team Ossoff West 🍑 Silicon Valley For Joe & Kamala🍦@SV4Kamala ❤️💛💜 @py_bay organizer 🐍 she/her 👩🏻Vuyisile✨ Ndlovu @TerraMeijar
3K Followers 2K Following DevOps Engineer | AWS Certified | Python | Django | Docker | Open Source | Technical Writer | Make it work, make it right, make it fast. Married to @aishameggRead the Docs @readthedocs
5K Followers 16 Following 🌎 We host the world's docs 💗 Fully open source 🔨 Sphinx, Mkdocs, and your tool of choice 🔑 Public & private docs 🐘 https://t.co/c0sA3AxrR9Florian Schulze - Bla.. @fschulze
391 Followers 225 Following Screeching voice of the minority. He/Him. Black Lives MatterDavid Beazley @dabeaz
56K Followers 894 Following Author of Python Distilled and the O'Reilly Python Cookbook. Come take an advanced CS course. https://t.co/oLx6bMd3Jv. Find me @[email protected]Ned Batchelder @nedbat
31K Followers 138 Following No longer here. Find me on Mastodon https://t.co/JC2CgmDAaN or BlueSky https://t.co/vOI4RcczVcMinistry of Testing @ministryoftest
28K Followers 7K Following We are a global community of practice for software testing, QA & Quality Engineering professionals. Learn, connect, co-create and elevate your career.Software Testing @testingmag
17K Followers 1K Following Software Testing Magazine knowledge and resources on unit, functional, performance, load testing & DevOps. #softwaretesting #testing #agiletestingAngie Jones @techgirl1908
116K Followers 625 Following VP, DevRel 🥑| International Keynote Speaker | Java Champion | GitHub Star | Inventor {27 patents} | Working on digital identity at @TBDevs/@blocksDevOps on Azure @AzureDevOps
89K Followers 383 Following Deliver innovation faster with simple, reliable tools for continuous delivery. Official handle of Azure DevOps at MicrosoftCameron Maske @cameronmaske
397 Followers 557 Following Developer with a love for Python, Javascript and Docker. Available for freelance.YASUI Tsutomu @yattom
2K Followers 1K Following 心理的安全性ゲームを製作しました。オンライン販売しています。また体験イベントをやっています。やってみたい方、ご連絡ください! https://t.co/rJgNT4lKvh Twitter以外の連絡先などです(Gist)→https://t.co/RNKCBYExYaMatt Williams @milliams
395 Followers 68 Following Open-source developer, Research Software Engineer at the University of Bristol and President of the Society of Research Software Engineering0xfm @_fmorte
12 Followers 19 FollowingBrian Okken @brianokken
14K Followers 0 Following Software Engineer. Podcast Host of PythonBytes, PythonPeople, and PythonTest. Author, Course Creator, TrainerIonel C. Mărieș @ionelmc
427 Followers 93 Following Blogger and open-source enthusiast that loves Python.Oliver Bestwalter @obestwalter
689 Followers 878 Following Stop doing the wrong stuff, so the right stuff can do itself.tomviner @tomviner
560 Followers 902 Following Diver of sea, sky & board. Developer of Software. Principal dev at @Sohonet Formally @hogarthww Organiser, lead heckler @ldnpydojo Mastodon: @[email protected]Harry Percival @hjwp@.. @hjwp
4K Followers 1K Following Python programmer, tech + captions @PopUpOperaUK, TDD book author, constant source of Aliens quotesEugene Van den Bulke @3kwa
302 Followers 645 FollowingStephen Donner @stephendonner
2K Followers 5K Following Working @brave as a QA Engineer. Past engineering lives included Mozilla, Google, AOL, and Netscape.Santhosh Tuppad @santhoshst
6K Followers 4K Following I help businesses with my skill-based testing and ethical hacking mindset + skillset.Mahmoud Hashemi @mhashemi
3K Followers 485 Following Free software: https://t.co/LsB2tBvRSP. Staff eng @stripe. @OReillyMedia author: https://t.co/xGtYUpcbiY Wikipedia: @hatnotableI am a #software #developer and I love #Pytest! It is amazing how it helps me find bugs in my code. Yesterday, I found three bugs in less than an hour. I am so impressed with Pytest that I think it should be declared a national hero!
#pytest lets me write my unit test insanely easily. I haven't found better alternatives since!
@JamesTimmins @pytestdotorg The `--last-failed` option really takes the edge off. I use it and then his -x to fail on the first test and it really speeds the cycles up.
@pytestdotorg Solid tips, thanks. Haven't come across last failed before, but that's handy
Am I doing this right? This is how you write a passing test? def test_it(): pass
@pytestdotorg fixtures are just the greatest. I wasn't convinced at first... now I can't stop using them.
TIL about mocking in pytest from this NTC blog post: blog.networktocode.com/post/pytest-in…. Super neat feature and makes sense if you're pulling data from network devices! I plan to add it to the unit testing in my netcheck project.
💚 Faker's PyTest support is 💯 This has really taken the edge off of wrapping up a bunch of tests recently. faker.readthedocs.io/en/master/pyte…
Whether he's contributing to one of 70+ open source projects or streaming on his popular Twitch channel, @codewithanthony finds endless energy engaging with the OSS community. github.com/readme/stories…
Spent a looong time today getting Flask, SQLAlchemy, (relational) Factory-Boy, and Pytest to all play nice with each other and now it WORKS!! Now that I'm finally (mostly) understanding how each thing works, the rest of the models should be EZ famous last words
“All happy families are alike; each unhappy family is unhappy in its own way.” That's the exact outlook #pytest has on test results.
2.5 year old son when I run pytest: “tiny green dots coming!”
@pytestdotorg @brianokken More like a workaround, I will open an issue and try to see If I can find a proper fix 😉
Enhorabuena @hectorcanto_dev , estupenda tu charla en @PyConES sobre testing con pytest. Gracias!
I've just contributed to pytest. Consider supporting them too — every little helps! opencollective.com/pytest @opencollectより
#PyConES2021 muy buenas las charlas "Testing efectivo con pytest" y "Python testing best practices" así voy saltando entre bloques "A" y "B"
@changelog @sadhlife @willmcgugan This is a cool thing Will is doing. Some @pytestdotorg folks and myself are kicking around the idea of doing something similar, inspired by Will, but focused on test design and structure.