Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightning Talk: Size matters #50

Open
jayasting98 opened this issue Mar 7, 2024 · 0 comments
Open

Lightning Talk: Size matters #50

jayasting98 opened this issue Mar 7, 2024 · 0 comments

Comments

@jayasting98
Copy link
Contributor

You should try to keep tests as small as possible. Note that test size (small, medium, large) is different from test scope (unit, integration, e2e, etc.). While small tests are usually unit tests, medium tests are usually integration tests, etc., they are independent concepts. It is possible to have an integration test, that is still small, because it tests multiple components within a single process.

PUNCH: Have you ever felt Wile E Coyote should have just tried catching the Road Runner with the same plan again?

WIIFY: You can test comprehensively while saving time for other things

Agenda

  • Aren’t small tests just the unit tests we already know about?
  • Why should I write them?
  • Wouldn’t testing seem meaningless when the simulated conditions are too different?

Key points

  • Size is about resources, not coverage
  • Smaller tests increase productivity
  • Teams will place greater value in testing

Call to action/big idea: Keep your tests as small as possible

Impact

  • Know: Smaller tests have benefits over larger tests
  • Believe: Size matters
  • Do: Make more of your tests smaller

Slides:
jay_aljelo_saez_ting__lightning_talk_b__cs3282.pptx

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

No branches or pull requests

1 participant