Skip to content

Conversation

@AlexGhiondea
Copy link
Contributor

This change updates the tests to the latest version of NUnit.

What changed:

  • Move away from the ExpectedException attribute and start using the Assert.That syntax.
  • Move away from async void to async Task
  • Tweak the way the SampleData was being discovered (use the location of the test assembly and make sure the sample files are copied to the output folder)

AlexGhiondea and others added 2 commits July 26, 2017 21:12
Updated all the tests that check exception to the new model for validating
exceptions.
Before, the tests were assuming that the sample data was in a relative path to where the tests were running.
With the change, the value of the SampleData folder is calculated based on the location of the test assembly.

As part of this change, I also ensured that the sample data is copied over to the test location.
@joshfitabase joshfitabase merged commit 079c870 into aarondcoleman:master Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants