TDD is software development technique to allow writing test before code then the tests will drive the implementation.
Apply red-green refator cycle. Imagine the developer wear 3 colors hat: red
, green
and blue
. In which:
git ls-files | grep \.sh | tr '\n' ' ' | |
git update-index --chmod=+x $(git ls-files | grep \.sh | tr '\n' ' ') |
Feature
: Behavior Driven Development (BDD).
In order to
:
And
make project information is transperant as human readable.And
keep software functions work as design after refactor/restructure code.As
people (tech/non-tech) want to
get knowledge of BDD.Scenario
: BDD Overview// eslint-disable-next-line max-classes-per-file | |
interface EventExecutor<T, R> { | |
execute(input: T): R; | |
} | |
interface EventInterceptor<T, R> { | |
beforeFn(): EventExecutor<T, T>[]; | |
executeFn(): EventExecutor<T, R>; |