I'm working on my first 'real' F# assembly, and trying to do things right.
I've managed to get xUnit working too, but currently my test module is inside the same assembly. This bothers me a bit, because it means I'll be shipping an assembly where nearly half the code (and 80% of the API) is test methods.
What is the 'right' way to do this? If I put the tests in another assembly, I think that means I have to expose internals that I'd rather keep private.
I know that in C# there is a friend mechanism for tests (if that's the right terminology), is there an equivalent in F#?
Alternatively, can anyone point me to an example project where this is being done 'properly'?