kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programming@programming.devbycanpolat@programming.dev
3 years

Canon TDD

tidyfirst.substack.com English
2
    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
    You must log in or register to comment.

    • robyoung@beehaw.org
      3 years

      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.lolEnglish
          3 years

          Time to break out the ol’ do-while.

        Programming@programming.dev

        programming@programming.dev

        Subscribe from remote instance

        Create post

        Report community

        Modlog
        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

        This community is visible to everyone.

        • 2 users / Day
        • 696 users / Week
        • 856 users / Month
        • 991 users / 6 months
        • 3.22K posts
        • 46.2K comments
        • 1 local subscriber
        • 29.4K subscribers
        • UI: 1.0.0-beta.0
        • BE: 1.0.0-alpha.20
        • Modlog
        • Instances
        • Docs
        • Code
        • join-lemmy.org