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

Adding Test for DbInfoController and SchemaController [resolves #715] #728

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Shrman007658
Copy link

@Shrman007658 Shrman007658 commented Oct 7, 2024

This class is responsible for returning the metadata about the databases connected to the service. Added one test for the getObjects method which returns a list of DbInfoObject.
resolves #715

This class is responsible for returning the metadata about the databases connected to the service.
Added one test for the getObjects method which returns a list of DbInfoObject.
@Shrman007658 Shrman007658 marked this pull request as draft October 7, 2024 14:05
This class is responsible for filtering out schemas on 3 parameters, schema, name and type. Added tests to
test filtering on all these attributes.
Also added tests for GenericDataAccessException when the filter is not formatted properly
and the given DBID does not exist
@Shrman007658 Shrman007658 marked this pull request as ready for review October 7, 2024 15:46
@Shrman007658 Shrman007658 changed the title Adding Test for DbInfoController class Adding Test for DbInfoController class [#715] Oct 7, 2024
@Shrman007658 Shrman007658 changed the title Adding Test for DbInfoController class [#715] Adding Test for DbInfoController class [resolves #715] Oct 7, 2024
Copy link
Collaborator

@kdhrubo kdhrubo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be integration test.

@kdhrubo
Copy link
Collaborator

kdhrubo commented Oct 8, 2024 via email

@Shrman007658
Copy link
Author

Okay, I will try to add Integration tests as well. But as a good to have are we keeping the Unit Tests at all or should I remove both of the classes?

@Shrman007658 Shrman007658 changed the title Adding Test for DbInfoController class [resolves #715] Adding Test for DbInfoController and SchemaController [resolves #715] Oct 8, 2024
@Shrman007658
Copy link
Author

kindly requesting re review

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.

Add integration tests for DB metadata API
3 participants