Skip to main content
added 11 characters in body
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I like naming my tests with the pattern:

MethodBeingTested_State_Result

MethodBeingTested_State_Result

Something like:

GetChangedClaims_CreateSeperateClaims_ClaimsCombined

GetChangedClaims_CreateSeperateClaims_ClaimsCombined

This makes it more obvious what the tests are performing, other.

Other than the other comments, the code looks fine.

I like naming my tests with the pattern

MethodBeingTested_State_Result

Something like

GetChangedClaims_CreateSeperateClaims_ClaimsCombined

This makes it more obvious what the tests are performing, other than the other comments the code looks fine

I like naming my tests with the pattern:

MethodBeingTested_State_Result

Something like:

GetChangedClaims_CreateSeperateClaims_ClaimsCombined

This makes it more obvious what the tests are performing.

Other than the other comments, the code looks fine.

Source Link
3dd
  • 131
  • 3

I like naming my tests with the pattern

MethodBeingTested_State_Result

Something like

GetChangedClaims_CreateSeperateClaims_ClaimsCombined

This makes it more obvious what the tests are performing, other than the other comments the code looks fine