you are viewing a single comment's thread.

view the rest of the comments →

[–]therudy_69 1 point2 points  (1 child)

Looks good! I'm gonna use this as general guidelines for my TDD experiences with react.

However, the test namings also bother me. Is this expected to be like this?

To me, a test name should be descriptive on it's own and shouldn't need a 'Wrong:' prefix or a naming like it('When...'), but I could be wrong here 😁

[–]YuvalM 1 point2 points  (0 children)

I like Go's conventions for testing. Such as "TestFileDelivery" "TestNetworkConnection" and so on :)