@brianokken@fosstodon.org
@brianokken@fosstodon.org avatar

brianokken

@brianokken@fosstodon.org

Software Engineer.
Author of “Python Testing with pytest”. #Python

This profile is from a federated server and may be incomplete. Browse more on the original instance.

brianokken, to random
@brianokken@fosstodon.org avatar

pytest-param-scope

https://pypi.org/project/pytest-param-scope/

New pytest plugin to allow setup (and optional teardown) around a set of test cases created with parametrized tests.

brianokken, to random
@brianokken@fosstodon.org avatar

I'm working on a pytest plugin to provide setup/teardown to go around the parametrization set.

I was thinking of naming it pytest-param-setup

Any better ideas?

brianokken, to random
@brianokken@fosstodon.org avatar

Do you think you should write more automated tests?
If so, why do you think that? What are your barriers to doing so? What would enough look like?
If not, what gives you that confidence?

I’d like to explore this topic more, so any RTs appreciated.

brianokken, to random
@brianokken@fosstodon.org avatar

Conferences should pay travel and lodging for speakers, unless speaker opts out.
Current model of requiring speakers to apply for travel grant is backwards.

brianokken, to random
@brianokken@fosstodon.org avatar

Python Test 209: Testing argparse Applications

How do you test the argument parsing bit of an application that uses argparse?

https://testandcode.com/episodes/209-testing-argparse-applications

brianokken, to random
@brianokken@fosstodon.org avatar

Slack alternatives.
So far I’ve heard Discord and Discourse as good choices.

Anyone tried using GitHub discussions?

brianokken, to random
@brianokken@fosstodon.org avatar

Test & Code 206: TDD in Context

https://testandcode.com/episodes/206-tdd-in-context

Software tools and CI systems have changed a lot since Test Driven Development entered my radar in early 2000's.
This is the first episode of a series examining TDD.

brianokken, to random
@brianokken@fosstodon.org avatar

Working on a big pytest course. I’m so excited to announce it. I don’t think I can wait till it’s done. So I’ll probably beta release it at a discount next week.

brianokken, to random
@brianokken@fosstodon.org avatar

Fresh cron

brianokken, to random
@brianokken@fosstodon.org avatar

Are you seeing "AttributeError: ...ImpImporter ..." when trying to test with tox and Python 3.12?

If so, try:

  • Creating your development venv with Python 3.11
  • Adding download = true to your tox.ini configurations, at least for the 3.12 one.

https://pythontest.com/posts/2023/2023-10-02-py312-impimporter/

brianokken, to random
@brianokken@fosstodon.org avatar

Now that the pytest course is complete, I’ve got some time to work on an Atari Lego kit I received ad a XMas gift.

brianokken, to python
@brianokken@fosstodon.org avatar

I started recording the tox/CI chapter last night. Wow, my use of tox has changed significantly from how I used it a couple of years ago.
#Python #pytest “Complete pytest Course”

brianokken, to random
@brianokken@fosstodon.org avatar

Are people still using slack?
This isn’t facetious. I want to have place to allow people to ask and answer questions for the upcoming pytest course. I’m wondering if slack is fine or if there is a better choice.

brianokken, to random
@brianokken@fosstodon.org avatar

Figures. Absolutely first thing I try with @charliermarsh and Astral’s uv is uv venv --prompt ..
Doh! --prompt not supported. (Hopefully just not supported yet).
I swear, I should have been a test engineer.

brianokken, to random
@brianokken@fosstodon.org avatar

Recorded ch7 this evening, "test strategy". More in depth than I thought it was going to be. I know, it shouldn't have been a surprise for me.

Should be able to edit this weekend and release it by Monday. #pytest course

brianokken, to random
@brianokken@fosstodon.org avatar

‘It’s the season to admit that we all use Wikipedia a lot, don’t want it to disappear, and give a little bit to keep it going.
I just submitted my donation.

brianokken, to random
@brianokken@fosstodon.org avatar

A troublemaker in the office today. In the first he’s on the paper bins trying to jump to the flamingo chair. He knocked off the rocket.

brianokken, to random
@brianokken@fosstodon.org avatar

😭 😭
Just finished season 2 of “Good Omens”. I’m crushed.

brianokken, to random
@brianokken@fosstodon.org avatar

So now there are ex employees and x employees.

brianokken, to random
@brianokken@fosstodon.org avatar

I know, it’s just lasagna. But this delicious eggplant & zucchini lasagna, along with a Caesar salad, took me all frigging night to make.

brianokken, to random
@brianokken@fosstodon.org avatar

Obviously, this is where one displays a cat.

image/jpeg

brianokken, to random
@brianokken@fosstodon.org avatar

Psst. pytest course
Limited Pre-Release Beta
https://testandcode.teachable.com/
Official announcement will be tomorrow.

brianokken, to random
@brianokken@fosstodon.org avatar

We spread garden compost last year, and now these little guys are growing all over the garden. So cute. Anyone know what variety they are?

brianokken, to random
@brianokken@fosstodon.org avatar

In our family, loyalty is huge.
We’re also quite fond of Earl Grey

brianokken, to random
@brianokken@fosstodon.org avatar

Nice day for a quick rest in a field

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines