Git Product home page Git Product logo

12tdds's Introduction

12 TDDs of Christmas

Remembering a TDD exercise from years ago and how just doing TDD was key to it becoming ingrained into my workflow, I thought it might be good to run a variation of it this year. Especially since other developers at PhoneBurner seemed interested.

How does it work?

If the 12 TDDs have started, take a look at the day directories in this branch. To participate simply fork the repository and create your own branch. When a new challenge is released a git rebase 2021 should get your local copy all up to date.

Each day will have a README documenting the exercise, and may include test input / expected output. You should be able to complete the exercise using any language and testing framework, the exercise resources will be language agnostic.

There will be a new challenge every weekday starting December 6th and ending December 21st (12 days, right?). The first week will focus on what may seem like simple code challenges. The second week will focus on refactoring using TDD.

What are the rules?

Not many, that's for sure. Since these are TDD exercises you should start the solution by writing a test, then writing the code that makes the test pass. And then maybe a refactor or two to improve the solution, leveraging the tests to ensure the refactoring doesn't change the behavior.

And once you have a solution, share it! Tweet a link to your solution using #12TDDs, or share it with someone else you know participating. Each day will have a discussion thread in 'General', but feel free to start threads about your solution in 'Show and Tell'.

And that's it. No pressure, just an excuse to take some time and improve your TDD process.

The 12 Days

12tdds's People

Contributors

tjlytle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.