Giter VIP home page Giter VIP logo

kata-gameoflife's Introduction

Gradle Maven CMake Go Pytest Npm Check Markdown links Add contributors

Game of Life

Kata Image
"Color Coded Race Track" by Simpsons contributor is licenced under is licenced under Wikimedia Commons

Description

Available here

What is Bottom-up and Top-down TDD?

Bottom-up style is when you build a brick outside your main acceptance test flow and only later integrate it with the rest of the program. On the contrary, Top-down style is when you only work on the code that is covered by the acceptance or high level tests.

In order to experiment full bottom-up style start the kata with 10 minutes of up-front design and come up with the different 'bricks' you will need to solve the problem. Then use the bottom-up way to solve the kata:

  1. Write an acceptance test, and comment it
  2. Test drive the implementation of each brick
  3. Using all the bricks, test drive the implementation of the main function
  4. Uncomment and pass your acceptance test

Note: Bottom-up / Top-down are also known as Inside-out / Outside-in

The pros of Bottom-up TDD?

  • It lets you work in small steps
  • It tends to result in more reusable and robust bricks

The cons of Bottom-up TDD?

  • There is a risk that the brick does not integrate well with the main code, leading to a lot of rework. Then a good recommendation is to integrate the brick as soon as possible in the main code.
  • Creating a robust brick is often more work than necessary for the current acceptance test

Getting Started

Session Quick Retrospective

You can fill it from here

Useful Links

For this Kata

General

Session Information

Style & Duration

Topic

  • Bottom-up TDD

Focus Points

  • Test readability
  • Teamwork
  • โš  YAGNI

Source Files

License

Kata-GameOfLife and the accompanying materials are made available under the terms of the MIT License which accompanies this distribution, and is available at the Open Source site

Acknowledgements

See ACKNOWLEDGEMENTS.md for more information.

Contributors

Damien
Damien Menanteau
Ahmad
Ahmad Atwi
Philippe
Philippe Bourgau
AntoineMx/
AntoineMx

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.