-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Currently, there are few options for mocking/faking libraries that can run on Xamarin Android. Most libraries like moq and fakeiteasy rely on Castle.Core, which does not have a build for Xamarin Android. Since Foq does not have this dependency, it seems like it has a good chance to work for that platform
I hacked up something quick, and was able to get Foq and the C# tests to run on Xamarin. The issues I encountered were that LinqTests.TestSetupFuncWithReturnsLambda failed with an exception related to bad IL code (seems to be a Mono problem) and Microsoft.FSharp.Control does not seem to be available for Xamarin. I encountered a few more failures running the F# tests on Mono too.
This brings me to my questions:
- Is Foq a viable option for Xamarin Android?
- It seems that there are issues/limitations with F# on Mono. Its not clear to me if any of them would be a showstopper.
- If so, would a pull request be accepted that added a Xamarin Android build?
- Foq on Codeplex has some more recent commits, so its not clear to me where the project lives.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels