nus-cs3281 / 2024

1 stars 2 forks source link

Lightning Talk: Size matters #50

Open jayasting98 opened 8 months ago

jayasting98 commented 8 months ago

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

Key points

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

Impact

Slides: jay_aljelo_saez_tinglightning_talk_bcs3282.pptx