Skip to content

a clean code BDD exercise. Great for test coverage introduction. A few refactoring techniques in the code improvement step...

Notifications You must be signed in to change notification settings

rfauglas/clean-code-time-interval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean-code-time-interval

A clean code exercise:

  • covers test drive driven principles: traffic light principles
  • covers Behaviour Driven Development: Gherkin usage
  • takles down test coverage principles againt software complexity (NPath metrics).

A few refactoring techniques in the code refactoring step are illustratted....

Step Intent How
0 BDD bootstrapped: 1 scenario + interface Init
1 Write complete test scenarios
2 Empty Intersection implementation
3 Invert after before in time Interval for preparing refactoring
4 Introduce variables to allow extract method Extract Variables
5 Extract method Extract method
6 Inline Variable Inline Variable%

About

a clean code BDD exercise. Great for test coverage introduction. A few refactoring techniques in the code improvement step...

Resources

Stars

Watchers

Forks

Packages

No packages published