Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit tests #12

Open
eabili0 opened this issue May 3, 2019 · 1 comment
Open

Add unit tests #12

eabili0 opened this issue May 3, 2019 · 1 comment
Assignees
Milestone

Comments

@eabili0
Copy link
Contributor

eabili0 commented May 3, 2019

No description provided.

@eabili0 eabili0 added the testing label May 3, 2019
@eabili0 eabili0 self-assigned this May 3, 2019
@claudiosegala
Copy link
Contributor

claudiosegala commented Oct 28, 2019

@abilioesteves seems to me that you used files ended with _test.go to implement mock functions of certain types. Should I change the names of them for something like _mock.go?

PS: For organization, we could create 3 files:

  • file.go: defines behaviour and holds the default implementation
  • file_test.go: test only default implementation
  • file_mock.go: holds the mock implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants