Software I enhancements, Part 3 - Testing continued
I found a couple of problems with our CI workflow that we built in the last post.
We’re not running any tests The docker container we’re using to build the solution doesn’t pass out the exit code of our command; if a build fails inside the container we won’t know about it as long as our docker-compose command exits with code 0. I picked xUnit to test our C# code because it’s got a more familiar assert structure that’s similar to jUnit.
Software I enhancements, part 2 - CI and testing
I’ve always been interested in automated testing ever since I learned about it. However, it’s really hard to do, and the difficulty has always been a barrier to doing things right. I wanted to remove those barriers with this project so I decided I’d start right this time and go with TDD and CI at the start. I started looking into CI providers for open-source projects, and decided to start with Appveyor.