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

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

Conversation

Notices

  1. Embed this notice
    Fish of Rage (sun@shitposter.world)'s status on Sunday, 25-May-2025 10:27:48 JST Fish of Rage Fish of Rage
    tests are taking 100x longer than writing the god damn program
    In conversation about 8 days ago from shitposter.world permalink
    • soberano likes this.
    • Embed this notice
      Fish of Rage (sun@shitposter.world)'s status on Sunday, 25-May-2025 10:28:14 JST Fish of Rage Fish of Rage
      in reply to
      about ready to say fuck it
      In conversation about 8 days ago permalink
    • Embed this notice
      ⚡Lord of Misrule⚡ (toiletpaper@shitposter.world)'s status on Sunday, 25-May-2025 10:50:43 JST ⚡Lord of Misrule⚡ ⚡Lord of Misrule⚡
      in reply to
      • mangeurdenuage :gnu: :trisquel: :gondola_head: 🌿 :abeshinzo: :ignucius:
      @mangeurdenuage @sun

      When I was taught to do TDD originally my mentor would always stress to write the failing tests first (ie. ensure it fails gracefully, produces proper exceptions, etc). Unless the interface is overloaded it generally only needs a single passing test case, though maybe with a variety of (possibly random) data. That said, I also learned TDD in Perl which is weakly typed (and therefore requires a bit more care), but also has very good built-in test frameworks.
      In conversation about 8 days ago permalink
      Fish of Rage likes this.
    • Embed this notice
      mangeurdenuage :gnu: :trisquel: :gondola_head: 🌿 :abeshinzo: :ignucius: (mangeurdenuage@shitposter.world)'s status on Sunday, 25-May-2025 10:50:44 JST mangeurdenuage :gnu: :trisquel: :gondola_head: 🌿 :abeshinzo: :ignucius: mangeurdenuage :gnu: :trisquel: :gondola_head: 🌿 :abeshinzo: :ignucius:
      in reply to
      • ⚡Lord of Misrule⚡
      @toiletpaper @sun I'll note that the wrong "things" are/can be a subset of generally known issues that can be more or less made into generic testing tho (and still you can't trust them at 100%). But otherwise you're correct.
      In conversation about 8 days ago permalink
    • Embed this notice
      ⚡Lord of Misrule⚡ (toiletpaper@shitposter.world)'s status on Sunday, 25-May-2025 10:50:45 JST ⚡Lord of Misrule⚡ ⚡Lord of Misrule⚡
      in reply to
      @sun

      That's basically always true, because you're supposed to write the tests to cover all the wrong things that will fail before you deal with the limited subset of right things that don't. Gods forbid you decide to change the interface...
      In conversation about 8 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • 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.