backoff icon indicating copy to clipboard operation
backoff copied to clipboard

Refactoring test names for better documentation

Open kishaningithub opened this issue 2 years ago • 1 comments

I see tests as a behavior documentation of the method under test. Currently i see tests of the name Test1, Test2,Test3 etc the intent of which is only understood upon reading the test itself.

I propose refactoring the test names to better describe the scenario that is being tested.

kishaningithub avatar Mar 30 '22 06:03 kishaningithub

Happy to approve a PR :)

On Wed, 30 Mar 2022 at 5:29 pm Kishan B @.***> wrote:

I see tests as a behavior documentation of the method under test. Currently i see tests of the name Test1, Test2,Test3 etc the intent of which is only understood upon reading the test itself.

I propose refactoring the test names to better describe the scenario that is being tested.

— Reply to this email directly, view it on GitHub https://github.com/jpillora/backoff/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X435GDYWPIANWMMRXXLVCPYDBANCNFSM5SA2TFDQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jpillora avatar Mar 30 '22 06:03 jpillora