Skip to content

Building or Testing Keyczar dotnet in Depth

Jay Tuley edited this page Aug 6, 2017 · 13 revisions

All source code and build files can be found in the Keyczar directory of the repository. You can clone a copy of the repository using:

   git clone --recursive https://github.com/jbtule/keyczar-dotnet.git

Visual Studio

Official binaries for Keyczar dotnet are built with msbuild 15. If you use Visual Studio 2017 unload the Keyczar.Tool-Minimized project, it only works with msbuild directly, rider, and visual studio for mac.

Mono

With the latest beta of mono that has msbuild 15.3, building on mono works great.

Continuos Integration

For building on Travis CI which is always on a fresh image of Ubuntu and Mac. And Appveyor is installed with Visual Studio 2017 Preview for windows builds.

Unit Testing

Some of the unit tests data is pulled in with a git submodule and some is created by tests that are later checked against. If you cloned with the --recursive flag and your test runner runs the tests in alphabetical order there isn't a problem. If you forget the --recursive flag, run git submodule init. If your Nunit test runner doesn't run in alphabetical order, you can run these specific test categories in the following order.

  1. **include:**Create **exclude:**SecondRun
  2. **include:**SecondRun
  3. **exclude:**Create

if you do any profiling like code coverage you can exclude the category Performance too.

  1. **exclude:**Create,Performance