Open
Conversation
Add a new project to host unit tests for the UCM serializer library. Framework of choice: xUnit - a successor to NUnit, widely adopted in .NET community. As there is no results visualizer available by default, freely available Coverlet is selected. The runsettings file and projects dependencies reflect this selection. Along come few tests for the UcmSerializer class so that the initial commit of the project is not left empty handed. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Have code lines and branches coveraged to improve maintainability of the UCM serializer. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
Be CLI friendly by adding shell script that triggers the execution and visualization of unit tests. Settings found in .runsettings.xml file are taken into account so regardless of execution method, those are still in effect. Signed-off-by: Cezary Rojewski <cezary.j.rojewski@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new project to host unit tests for the UCM serializer library. Framework of choice: xUnit - a successor to NUnit, widely adopted in .NET community. As there is no results visualizer available by default, freely available Coverlet is selected. The runsettings file and projects dependencies reflect this selection.
With project added, several test group are implemented, one per source file found in NUcmSerializer project. Current code coverage: 84% lines, 74% branches. In time, more will be added to fill the gaps.
While one can launch these directly from VisualStudio, run_tests.sh introduced by the last change ensures CLI friendliness. With it, tests can be triggered and results visualized from the command line.