gwennlbh / gwennlbh/ffcss

Use golang to setUp & tearDown for tests

Open
#64 0 comments 0 reactions 1 assignee Claimed by @gwennlbh View on GitHub
meta
Dominant language
Go
Stars
48
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.