Skip to content

Conversation

@Preocts
Copy link
Owner

@Preocts Preocts commented May 30, 2025

What happens when you assume and don't test what you build?

Did you answer, what you build doesn't work as expected? Good, you're better than me.

During the refactor the noxfile, I dropped the requirements being dynamically handled in the pyproject.toml. Not seeing the trap I built for myself, I proceeded to build the noxfile with the impression that everything was working. Behold, folly. Not once did I notice I never installed the requirements.txt in the nox sessions. Something that is rather required if tests or linting is to pass.

I even had taken a step toward avoiding the trap. I added requests to the dependency list "just to see it work". And then, like a silly-goose, I never actually used requests so my testing failed to produce the error that was inevitable.

This has been my egg talk.

Preocts added 3 commits May 30, 2025 18:48
A case study of "test it if you expect it to work".
The conclusion of the case study.
@Preocts Preocts self-assigned this May 30, 2025
@Preocts Preocts marked this pull request as ready for review May 30, 2025 22:55
@Preocts Preocts merged commit 5b7ab1d into main May 30, 2025
22 checks passed
@Preocts Preocts deleted the improve-examples branch May 30, 2025 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants