Closed ChrisGora closed 4 years ago
85 files :cry:
Do we need to NSubstitute dll's to be committed?
and System.Threading.Tasks.Extensions?
Yeah.... Otherwise you have to tell everyone to install it manually
Put stuff about testing here https://github.com/BigMacintosh/Parking/wiki/Unit-testing
It works.
There are two types of tests:
Non unity and unity
The non unity ones can test a single class if it doesn't use any MonoBehaviour crap
The unity ones are more like integration tests. The single test provided starts up a server and then emits events and checks that the correct events with correct data have been triggered.
It's not exactly easy to write tests but I recommend reusing them