Skip to content

Instantly share code, notes, and snippets.

View montrealist's full-sized avatar
📺

Max Kovalenkov montrealist

📺
  • Montreal
View GitHub Profile
@maflaven
maflaven / testing.md
Last active September 1, 2020 01:56
Testing

Testing

"Why test your code? So you know it can work, and have a way to quickly verify it still works as it evolves." - some engineer on Quora.

Test Driven Development

For more info: https://en.wikipedia.org/wiki/Test-driven_development

TDD

Strategies

The overriding thought for testing should be "What tests need to pass in order to ensure my code works as expected?". For both services and libraries, arguably the highest priority are interface tests since they are the specific contract between an application and its end-users.