You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LibGit2Sharp strives to have comprehensive and robust unit test suite to insure the quality of the software and to assist new contributors and users who can use the tests as sample to jump start development. There are over one-thousand unit-tests for LibGit2Sharp, this number will only grow as functionality is added.
62
+
63
+
You can do a few things to optimize running unit-tests on Windows:
64
+
65
+
1. Set the `LibGit2TestPath` environment variable to a path in your development environment.
66
+
* If the unit-test framework cannot find the specified folder at runtime, it will fall back to the default location.
67
+
2. Configure your anti-virus software to ignore the `LibGit2TestPath` path.
68
+
3. Install a RAM disk like [IMDisk](http://www.ltr-data.se/opencode.html/#ImDisk) and set `LibGit2TestPath` to use it.
69
+
* Use `imdisk.exe -a -s 256M -m X: -p "/fs:fat /q /v:ramdisk /y"` to create a RAM disk. This command requires elevated privileges and can be placed into a scheduled task or run manually before you begin unit-testing.
70
+
60
71
## Authors
61
72
62
73
-**Code:** The LibGit2Sharp [contributors][committers]
0 commit comments