I am working on my first "real" build of F # and try to do everything right.
I also managed to get xUnit to work, but currently my test module is inside the same assembly. This bothers me a bit because it means that I will post the assembly, where almost half of the code (and 80% of the API) are testing methods.
What is the “right” way to do this? If I put the tests in a different assembly, I think this means that I have to expose the internals, which I prefer to keep in private.
I know that in C # there is a mechanism for tests (if this is the correct terminology), is there an equivalent in F #?
Alternatively, can someone point me to an example project where this is done “correctly”?
source
share