GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    jonny (nonvenomous) (jonny@neuromatch.social)'s status on Sunday, 31-May-2026 13:45:14 JSTjonny (nonvenomous)jonny (nonvenomous)
    in reply to

    So, look. One shot rewriting the whole test suite in another language is probably not great to do, but what happened here is so much worse than you are expecting.

    https://github.com/RsyncProject/rsync/pull/903/

    This does not "translate tests into pytest" or a unit testing framework, it writes its own testing framework where tests are whole python scripts that redefine basic test functions in every script. Surely there would be a single way to "run rsync and get the results" - nope, well, there is, but then every test file will randomly redefine its own _run_and_capture function. So like now rsync needs a test suite for its test suite.

    If instead of telling an LLM to "rewrite the tests in python" you just searched "python testing" you would find the pytest docs. And then you would find examples. And then you could write fixtures to deduplicate all the prior shell script setup and teardown stuff, and so on. But since it was just "rewrite the tests in python" its now worse than before, and the odds of the rewrite actually being a 100% faithful translation are close to 0.

    In conversationabout 6 hours ago from gnusocial.jppermalink

    Attachments


    1. https://media.neuromatch.social/media_attachments/files/116/666/900/861/836/282/original/c5366b15dcdfae34.jpg

    2. https://media.neuromatch.social/media_attachments/files/116/666/900/877/096/169/original/45f8fd29b3c07c54.jpg
    3. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
      rewrite test suite in python by tridge · Pull Request #903 · RsyncProject/rsync
      This rewrites all existing tests to be python based, which has better error handling and allows for better TCP port handling uses a system for claiming TCP ports using fcntl locks, which means par...
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.