Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

How to solve any problem? (Get used to fast tests & TDD)

Please tell me about the last bug you had in your code? What was the problem and how much time/money it cost to you/company to fix it?

Are tests required in your workplace? Do you write them? Do you like writing them?

In essence you follow three simple steps repeatedly:

  • Write a test for the next bit of functionality you want to add.
  • Write the functional code until the test passes.
  • Refactor both new and old code to make it well structured.

red -> green -> refactor

Practical tasks

Easy

Medium

Hard

Home assignments

  • Wordle
    • game engine that can be played from the tests
    • tested code that can autosolve the game
  • Pipes
    • game engine that can be played from the tests
    • tested code that can autosolve the game
  • 2048
    • game engine that can be played from the tests
    • tested code that can autosolve the game