Langauge | Status | Langauge | Status |
---|---|---|---|
.NET | ? | Go Lang | |
JavaScript | Python | ||
TypeScript | Rust |
- .NET Core 6 Starter - XUnit, FluentAssertions, NSubstitute
- Go Lang Starter - Testify
- Other failing test projects starter
- templates - Kata Starter Template (Empty projects for different languages with a failing test), original by Softwerkskammer
- workshop - Workshop Execerise order by complexity
- exercises - Other problem and Exercises
Test Driven Development (TDD) is a process of creating software which uses automated tests not only as a tool for proving the code correctness but it leads to developing applications in a clean and well-designed way. by Krzysztof Zielonka
The TDD basic idea relies on working in a cycle (known as TDD-cycle) consisting of 3 stages:
- Creating a test (RED – test fails)
- Adding a code required to pass the test (GREEN – test passes)
- Refactoring (BLUE)
graph LR;
Red-->Green;
Green-->Refactor;
Refactor-->Red;
Red:::ColorRed;
Green:::ColorGreen;
Refactor:::ColorBlue
classDef ColorGreen fill:#DBEDDB,stroke:#1C3829,color:#000;
classDef ColorRed fill:#FFE2DD,stroke:#5D1715,color:#000;
classDef ColorBlue fill:#d1e3ff,stroke:#1048a1,color:#000;
Uncle Bob’s “The Three Laws of TDD” article
- You are not allowed to write any production code unless it is to make a failing unit test pass
- You are not allowed to write any more of a unit test that is sufficient to fail, and compilation failures are failures
- You are not allowed to write any more production code that is sufficient to pass the one failing the unit test
แปลไทย ได้ว่า
- จะไม่เขียน production code ใดๆ จนกว่าจะทำให้ unit test ผ่านทั้งหมด
- จะไม่เขียน code ใดๆ ยกเว้นเขียน unit test ให้มัน fail
- จะไม่เขียน production code มากไปกว่าให้ unit test มันผ่าน
- https://kata-log.rocks/
- https://github.com/wix/tdd-katas
- https://github.com/garora/TDD-Katas
- https://github.com/gamontal/awesome-katas
- 6 Misconceptions about TDD – Part 2. We all understand Key Laws of TDD in the same way by Krzysztof Zielonka
- Clean Code - Uncle Bob (TDD) -- YouTube
- Kata คือเส้นทางการเรียนรู้ TDD by somkiat
- Test-Driven Development :: ว่าด้วยเรื่องการย้ายสถานะ by somkiat
- Uncle Bob - TDD 🤔 เขียนเทสมันจะช่วยให้การออกแบบมันดีขึ้นได้ไง ? by saladpuk
Original: https://github.com/swkBerlin/kata-bootstraps (For other Languages)