Skip to content

Add the corresponding unit tests for the new exceptions added to the code #270

@rolandoquesada

Description

@rolandoquesada

Is your feature request related to a problem? Please describe.
New exceptions were added to the code for handling some errors which could happen under certain specific situations.

Describe the solution you'd like
Please add the corresponding unit tests for testing those new exceptions which were added to the code

Additional context
Due to the difficulty of testing those new exceptions, it could be needed the usage of GMock library for Mocking calls to functions/methods. Also is suggested the refactoring of some methods to remove the current dependencies injection which exists in the code, and create new util functions to do the methods/function shorter (100 lines as maximum). Finally, if it is possible then create Interfaces for the current classes and change the current methods to virtual methods, that will make the methods easier to be mocked

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew features or upgrades for functionality, performance, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions