Better error handling for tests in build script
Updating xunit custom build