@airtower Yes right - and after reading about a dozen of the test scripts I can ...
jonny (nonvenomous) @jonny@neuromatch.social
@airtower
Yes right - and after reading about a dozen of the test scripts I can definitely see why using pytest would be useful here to consolidate some of the behavior that was repetitive and ad-hoc in the original testing scripts. Like the tests need to do repetitive things like set up test directories with different names and structures, run and capture results, setup and teardown a server, parameterize over a range of values. Done right, a pytest suite would have made perfect sense and improved both the existing tests by making them more systematic and uniform, but also made it easier to add new tests over time. However that is not what happened, and what did happen is much worse because it did the opposite of almost all those desirable qualities.
An unstated part of this is the "trapped with the orb" mentality - if you would have made a post like "hey everyone I'm thinking about rewriting rsync's tests in python, how should I do that" you would have been absolutely swamped with python nerds such as myself telling you how to do that, writing examples, and hell helping you with the actual change. But since LLMs trap you into Just Orb Time where you feel like you are in touch with collective wisdom, that wonderful generative intelligence known as human intelligence never kicked in, the wisdom and work of the commons never came, and instead now everyone is yelling at you - which one only imagines is pushing tridge further into the sanctum of the orb.
(I untagged fluffy because I saw the edit on the post above and wasn't sure if this was the kind of reply no longer welcome, not trying to exclude them)
Edit: hopefully clear, "you" as in the royal you, like "one"