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

Add unit tests to test generated code. SAP and SessionSetupReq #68

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

Conversation

SiebrenW
Copy link
Contributor

I would like to hear some feedback and maybe some ideas about how to automate the running of these tests in a more hands-off manner. The repo is missing the schemas for one, so those should be fetched somehow I suppose.

Other than that, I chose gtest, because I had it installed and the like. Do tell if the CMakeLists works for everyone if they have gtest/gmock installed.

The CMakeLists for the library resides in the tests dir too, let me know if you have a better idea.

Anyways. Roast my code.

@SiebrenW
Copy link
Contributor Author

Codacy has a false positive, claiming an unused field in a test fixture. It is in fact used.

@barsnick
Copy link
Contributor

Codacy has a false positive, claiming an unused field in a test fixture. It is in fact used.

This is a known issue with Codacy, don't worry for now.

@barsnick
Copy link
Contributor

The repo is missing the schemas for one, so those should be fetched somehow I suppose.

We have some ideas for these, will integrate those while working on integrating your tests.

Siebren Weertman added 2 commits February 26, 2024 13:10
Signed-off-by: Siebren Weertman <[email protected]>
Signed-off-by: Siebren Weertman <[email protected]>
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.

3 participants