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

[mix task] Needs test templates, tests #80

Closed
oyeb opened this issue Jan 15, 2018 · 1 comment
Closed

[mix task] Needs test templates, tests #80

oyeb opened this issue Jan 15, 2018 · 1 comment

Comments

@oyeb
Copy link
Contributor

oyeb commented Jan 15, 2018

gringotts.new

Generates just a gateway implementation file, it should also create:

  • test/gateways/<gateway>_test.exs
  • test/integration/gateways/<gateway>_test.exs

Which mocking library do we endorse, bypass or mox (I'm strongly against mock)?

Test coverage

The task has no coverage, take inspiration from phx.new.

@pkrawat1
Copy link
Member

I think mox is a good option here.

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

No branches or pull requests

2 participants