Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
canpolat@programming.dev to Programming@programming.devEnglish · 2 年前

Canon TDD

tidyfirst.substack.com

external-link
message-square
2
fedilink
16
external-link

Canon TDD

tidyfirst.substack.com

canpolat@programming.dev to Programming@programming.devEnglish · 2 年前
message-square
2
fedilink
Write a list of the test scenarios you want to cover Turn exactly one item on the list into an actual, concrete, runnable test Change the code to make the test (& all previous tests) pass Optionally refactor to improve the implementation design Until the list is empty, go back to #2
alert-triangle
You must log in or # to comment.
  • robyoung@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 年前

    Really!? We’re still doing GOTOs in 2023? That should just be a for loop over the collection of tests you want to write.

    • shnizmuffin@lemmy.inbutts.lol
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 年前

      Time to break out the ol’ do-while.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 151 users / day
  • 742 users / week
  • 3.08K users / month
  • 7.62K users / 6 months
  • 173 local subscribers
  • 22.2K subscribers
  • 2.43K Posts
  • 37.4K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org