Skip to content

Instantly share code, notes, and snippets.

View maflaven's full-sized avatar

Josh Trotter maflaven

View GitHub Profile

Keybase proof

I hereby claim:

  • I am maflaven on github.
  • I am jtrot1000 (https://keybase.io/jtrot1000) on keybase.
  • I have a public key whose fingerprint is 8DA2 7429 BE30 0559 BE46 65BC 4C21 59B1 6ADE F35E

To claim this, I am signing this object:

@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.

Keybase proof

I hereby claim:

  • I am maflaven on github.
  • I am jtrot1000 (https://keybase.io/jtrot1000) on keybase.
  • I have a public key ASBMi09D6fjkLG2FvinLl8UU3q_lNJY-Bxpvd0LlvO8nSAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ranginuitrot on github.
  • I am jtrot1000 (https://keybase.io/jtrot1000) on keybase.
  • I have a public key ASBbKRL5TgYbxunQjG8ypL-JcHnnnCgj87f067D6NLFngQo

To claim this, I am signing this object: