This project is a unit test project which tests whether the C# sample codes are working as expected. If any of the unit tests fail the travis build will fail.
The samples are all completely independent and self-contained so you can look at them to get a gist of how the method works, you can use the snippets to try in your own sample project, or you can run each sample from the command line.
- Clone sample code repository.
- Open the sample code project in visual studio.
- Include the AuthorizeNet.dll present in bin/debug folder.
- Include the SampleCode.dll present in bin/debug folder.
- Include the Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll present in bin/debug folder.
- Build the solution to produce latest SampleCode.dll.
- Then go to test explorer where you will see the list of all the test cases.
- Select "Run all tests" and monitor the output of tests.