chronodekar wrote at 2012-07-13 08:12:
I just checked out the source-code and built, what I assume are the Oxyplot libraries.
There is a project called "Oxyplot.Tests", which I assume contains the unit tests for this project. What tool do I need to use to run them? Or rather, HOW do I even run the tests?
The code does not look like nUnit or xUnit stuff to me.
objo wrote at 2012-07-13 09:35:
the *.Tests assemblies contain standard NUnit tests.
Note that some of the tests are asserting on images. I have not checked in the baseline of the plot bitmaps (*.png). The baseline is generated first time the tests are executed.
chronodekar wrote at 2012-07-13 12:35:
Ah, thank you for your reply! I opened the files "OxyAssert.cs" and "TestModels.cs" from the upper level in Visual Studio. There were no [Test] attributes or even [TestFixture] in them and I was wondering if I missed anything.
After reading your reply, I went digging a bit deeper and found Axes/AxisTests.cs which has something I'm familiar with. :)
I'm trying to understand the code base - at least at a very high level initially, before digging further. Any suggestions on where I should start?
objo wrote at 2012-08-08 23:17:
To understand the code base, I would look at the PlotModel, LineSeries and LinearAxis classes (and ancestor classes). See the PlotModel.Render method, that's the 'main' method of the plots!
Customer support service by UserEcho