The i-net PDFC NUnit API is a wrapper for the .NET programming language that uses an actual i-net PDFC server to carry out the file comparison as a NUnit test.
The NUnit API is able to run on any OS with .NET runtime installed. There is no limit to a 32 bit or 64 bit architecture.
If you want to test this API with Visual Studio or Rider then:
In the 'Documentation and Samples' folder is already a sample nunit project.
The PDFCNUnit.dll contains the PdfcAssert class that has the following methods.
There are multiple AssertPdfEquals and AssertPdfcNotEquals methods that gets two documents and compare them on the server. The AssertPdfEquals methods will throw an AssertionException, if the two documents have differences and the AssertPdfcNotEquals methode, if the documents have no differences.
There are several methods to set up the server to use.
// the URL to the i-net PDFC server PdfcAssert.SetServicePath("<url to the server like 'http://localhost:9900'>"); // the user to login to the server PdfcAssert.SetCredentials("<user>", "<password>"); // specify the PDFC profile to be used PdfcAssert.SetPdfcConfiguration("Text only"); // the default log level is SourceLevels.Warning // if you search for problems then you can enable the logging PdfcAssert.SetLogLevel(SourceLevels.Verbose);