-
Notifications
You must be signed in to change notification settings - Fork 1
Test template #37
Copy link
Copy link
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationunittestsadd/modify unittest (*_test.go) filesadd/modify unittest (*_test.go) files
Description
Activity
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationunittestsadd/modify unittest (*_test.go) filesadd/modify unittest (*_test.go) files
Hi there, I'd like to describe used in a project tests template.
each
_test.gofile should look as follows:testdata() map[*TestedType]binaryFormatmethod.this method should specify as much, as possible/necessary test cases in described map form
Test_Load(t *testing.T)this method is really easyTest_Encode(t *testing.T)is also really simple