SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components

1
0

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

Version
6.1.0.13075
Images
  • Andrew Burnett-Thompson
    Hi Doug, sure, use Dropbox, Onedrive or any other file sharing service to share the file. Or, make sure its under the size limit for our forum which I believe (not sure) is 10MByte.
  • Andrew Burnett-Thompson
    Doug, I got your project but I must tell you, you’ve included your license key in it, which means anyone that visits our forum could have downloaded it. I have deleted the project – please don’t share license keys in future!
  • You must to post comments
0
0

Hi Doug

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.

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.