Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ucm: Unit tests #12

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Commits on May 8, 2023

  1. ucm: Introduce unit-tests project

    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 <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    28db2e7 View commit details
    Browse the repository at this point in the history
  2. ucm: Add unit tests for Attribute classes

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    c833df6 View commit details
    Browse the repository at this point in the history
  3. ucm: Add unit tests for Section classes and their components

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    4324f0a View commit details
    Browse the repository at this point in the history
  4. ucm: Add unit tests for SectionComparer class

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    36216a2 View commit details
    Browse the repository at this point in the history
  5. ucm: Add unit tests for internal extension methods

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    b900322 View commit details
    Browse the repository at this point in the history
  6. ucm: Add unit tests for UcmReader class

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    b51e668 View commit details
    Browse the repository at this point in the history
  7. ucm: Add unit tests for UcmWriter class

    Have code lines and branches coveraged to improve maintainability
    of the UCM serializer.
    
    Signed-off-by: Cezary Rojewski <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    8ee513c View commit details
    Browse the repository at this point in the history
  8. ucm: Introduce run-tests script

    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 <[email protected]>
    crojewsk committed May 8, 2023
    Configuration menu
    Copy the full SHA
    1ce4422 View commit details
    Browse the repository at this point in the history