My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
canpolat@programming.dev to Programming@programming.devEnglish · 2 years ago

Canon TDD

tidyfirst.substack.com

external-link
message-square
2
fedilink
15
external-link

Canon TDD

tidyfirst.substack.com

canpolat@programming.dev to Programming@programming.devEnglish · 2 years ago
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
  • robyoung@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    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
      cake
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      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: [email protected]

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 [email protected]



Visibility: Public
globe

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

  • 188 users / day
  • 772 users / week
  • 2.53K users / month
  • 7.59K users / 6 months
  • 1 local subscriber
  • 21.4K subscribers
  • 2.23K Posts
  • 32.2K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • UlrikHD@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org