I have NUnit unit tests that use Typemock for mocking objects. The tests worked using previous versions of SciChart, but upgrading to version 6.0 and 6.1, the tests now fail with the error shown in the TestOutput.png image.
I have attempted to included a sample project zip file that the issue can be recreated by running the unit test in Class1Test.cs. I am getting an error every time I try to upload the file: Failed uploading file. Error code: 1. Maybe there is another way for me to get you this zip?
Any ideas on how to fix this would be greatly appreciated
I tried to look into this but TypeMock it appears is commercial software, and I don’t have a license. We can request a trial license but that may take some time, and falls outside the scope of what we consider to be normal support for SciChart.
What I’d suggest is contacting TypeMock and finding out if there is anything they can do. I would also suggest making use of the extensive interfaces in SciChart (e.g. SciChartSurface implements ISciChartSurface) and mocking like that. We do this internally using RhinoMocks and perform all our testing like this.
Please login first to submit.