Testimi & QA

Add a test for every bug

Në shqip: Një test për çdo bug të rregulluar

ShpjegimiSQ

Kur rregullon një bug, shkruaj fillimisht një test që e riprodhon (dështon), pastaj rregulloje (testi kalon). Kështu ai bug s'kthehet kurrë pa u vënë re.

EnglishEN

When fixing a bug, first write a test that reproduces it (fails), then fix it (the test passes). That way the bug can never come back unnoticed.

Si ta mendosh

Si të vendosësh një shenjë paralajmëruese te gropa ku ra dikush.

Lexoje në anglisht

Like putting a warning sign by the pothole someone fell into.

Terma të lidhur