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

Use golang to setUp & tearDown for tests #64

Open
gwennlbh opened this issue Jul 27, 2021 · 0 comments
Open

Use golang to setUp & tearDown for tests #64

gwennlbh opened this issue Jul 27, 2021 · 0 comments
Assignees
Labels
meta About the codebase itself
Milestone

Comments

@gwennlbh
Copy link
Owner

Right now the makefile approach does not even work on MacOS, because it seems like trap '$(MAKE) mocks-teardown' EXIT is ignored and runs immediately (thus tearing down mocks before the tests run).

Also, for windows, it seems like a mess to support it, considering that it's not trivial on MacOS (which is also a *NIX)

Using golang for this:

  • Makes the Makefile cleaner
  • Improves the 'making tests run on all platforms' situation
@gwennlbh gwennlbh added the meta About the codebase itself label Jul 27, 2021
@gwennlbh gwennlbh added this to the 1.0.0 milestone Jul 27, 2021
@gwennlbh gwennlbh self-assigned this Jul 27, 2021
gwennlbh added a commit that referenced this issue Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta About the codebase itself
Projects
None yet
Development

No branches or pull requests

1 participant