Git Product home page Git Product logo

learn_tdd's People

Forkers

imimoun

learn_tdd's Issues

Fix a template of commit message

WORK IN PROGRESS

description
For this project, we are using the method TDD. In this case, we will have a lot of commit with test error (that normal because we begin by writing a false test).

The thing is if someone else who don't know the project or even if we have to read our commit, we have to be sure witch test error is 'normal' (usefull).

That's why we need to fix a template for commit message.

what we need
On the commit message we have to:

  • Write if there is an error when running the tests:
    • How many error there are.
    • On witch file are the errors.
    • What is the error get.
  • If we fix a previous error:
    • Witch error was fixed.
    • How do we fix this error.
  • Have to be quick.
  • Have to write a wiki.

Example template
We can use that:

If we fixe an error:
[if we have an error:"Test wrong ([how many error]) - [the name of the first test doing an error]:"]
  - '[what is the first error get]'.
  - '[on witch file are the errors]'.
  - [if we fix a previous error:["resolve previous test error:"]
    - [all the thing you done to resolve the previous error].
  - commun commit message.
If we fixe an refactoring:
RF - ...

Example using the template

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.