Skip to content

cslysy/untestable-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to write untestable code

  • Mixing object graph construction with application logic
  • Ask for things, Don’t look for things
  • Doing work in constructor
  • Global state
  • Static methods
  • Breaking SRP
  • Conditionals
  • Digging into collaborators - breaking Law of Demeter

Links

Miško Hevery blog

SOLID

MockWebServer

About

How to write untestable code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages