https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • v

    VoxBot

    03/28/2023, 10:30 AM
    ewoud: do you think we can merge https://github.com/voxpupuli/beaker-hostgenerator/pull/275 if you rebase it
  • v

    VoxBot

    03/28/2023, 10:30 AM
    and I need to make the tests pass
  • v

    VoxBot

    03/28/2023, 10:31 AM
    details, details
  • v

    VoxBot

    03/28/2023, 10:32 AM
    rm -rf spec && echo done
  • v

    VoxBot

    03/28/2023, 10:33 AM
    oh wait, the fixtures are mostly in test/
  • r

    Robert Waffen

    03/28/2023, 10:34 AM
    it's not easy to be green, but then again, no tests are also green thonk
  • v

    VoxBot

    03/28/2023, 10:35 AM
    I always like rspec when it says: 100% tests passed (zero out of zero)
  • v

    VoxBot

    03/28/2023, 10:36 AM
    can I get a review for https://github.com/voxpupuli/beaker-docker/pull/112
  • v

    VoxBot

    03/28/2023, 10:43 AM
    I think someone was arguing recently that a testsuite should by default FAIL if there were no tests executed
  • v

    VoxBot

    03/28/2023, 10:43 AM
    hands up if you ever forgot to add _test or _spec to a filename and it wasn't executed
  • v

    VoxBot

    03/28/2023, 10:44 AM
    ✋
  • v

    VoxBot

    03/28/2023, 10:45 AM
    raises hand
  • v

    VoxBot

    03/28/2023, 10:45 AM
    or wrong directory or misspelled
  • v

    VoxBot

    03/28/2023, 10:45 AM
    same for test_ function prefix in pytest
  • v

    VoxBot

    03/28/2023, 10:46 AM
    and you can also mess them up because you were previously working in a project which used a _test suffix
  • v

    VoxBot

    03/28/2023, 10:47 AM
    I don't like coverage tests, but a check that verifies all files in test/ or spec/ were at least loaded in your test suite would actually be useful
  • v

    VoxBot

    03/28/2023, 10:47 AM
    ansible-lint has a config file that says how many tests need to pass
  • v

    VoxBot

    03/28/2023, 10:47 AM
    can I get another review https://github.com/voxpupuli/beaker-docker/pull/113
  • v

    VoxBot

    03/28/2023, 10:47 AM
    every time I add a test, I forget to bump that value and CI fails
  • v

    VoxBot

    03/28/2023, 10:47 AM
    but it also ensures that no tests are accidentally skipped
  • v

    VoxBot

    03/28/2023, 10:48 AM
    Zhenech: and the lint wont pass when you've more tests?
  • v

    VoxBot

    03/28/2023, 10:48 AM
    no
  • v

    VoxBot

    03/28/2023, 10:49 AM
    (as otherwise people will forget to bump that number :>)
  • v

    VoxBot

    03/28/2023, 10:49 AM
    lol
  • v

    VoxBot

    03/28/2023, 10:49 AM
    in rspec-puppet we can set a minimal value for the coverage
  • v

    VoxBot

    03/28/2023, 10:49 AM
    which brings us back to the root of all problems: people
  • v

    VoxBot

    03/28/2023, 10:50 AM

    https://www.youtube.com/watch?v=eVSlE28hOgI▾

  • v

    VoxBot

    03/28/2023, 10:51 AM
    IT crowd <3
  • v

    VoxBot

    03/28/2023, 10:51 AM
    weird-something-music: https://twitter.com/JohnCleese/status/1638971470440460288
  • v

    VoxBot

    03/28/2023, 10:53 AM
    ewoud: https://github.com/voxpupuli/beaker-puppet/pull/212
1...388389390...648Latest