Skip to content

Instantly share code, notes, and snippets.

@nrninsane
Last active June 16, 2021 15:26
Show Gist options
  • Select an option

  • Save nrninsane/d6eb50b23e57db1707449c97e8afcdb3 to your computer and use it in GitHub Desktop.

Select an option

Save nrninsane/d6eb50b23e57db1707449c97e8afcdb3 to your computer and use it in GitHub Desktop.
declarations

What are tests for? Tests are for declaring how implementations should behave.

Should we then test that which is declared? Yes.

But then you're declaring how a declaration should behave, no? Only if you test the declaration by itself. If you test the integration of the declaration, then you're testing an implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment