Skip to content

Conversation

@mnadareski
Copy link
Collaborator

@mnadareski mnadareski commented Jun 28, 2018

The main purpose of this PR is to add a testing project based on xUnit to DICUI. This will give us the ability to add unit tests for any new code and help check if any changes that are made will break the program in a notable way. This is not currently set up to be run automatically on pull requests, mostly because I have no idea how to set that up.

Most of the code is currently tested, though there are some that rely on external programs or external files that will have to be added later, possibly using the Moq framework.

Additionally, there have been multiple small bugfixes that were found during the process of writing and running the unit tests, including but not limited to:

  • Unhandled/improperly handled null and blank values
  • Incorrectly handled enums
  • Confusing method invocations

Fixes #48

@mnadareski mnadareski self-assigned this Jun 28, 2018
@mnadareski mnadareski merged commit 56eaf7c into master Jun 29, 2018
@mnadareski mnadareski deleted the r2 branch June 29, 2018 02:41
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.

Unit Testing

2 participants