Skip to content

[WIP] test: creating verification tests project#87

Merged
wtrocki merged 4 commits into
redhat-developer:mainfrom
secondsun:mock_server
Jan 17, 2022
Merged

[WIP] test: creating verification tests project#87
wtrocki merged 4 commits into
redhat-developer:mainfrom
secondsun:mock_server

Conversation

@secondsun
Copy link
Copy Markdown
Contributor

This PR creates a tests subproject that is to be used by package maintainers to test the generated code and find issues quickly. Currently this subproject contains only one test as an example, the meat of the pr is in the pom.xml file. What this pom does is managed the mock-server created by @wtrocki required for tests to run. Tests follow the failsafe maven plugin patterns, in this project test classes will end with IT.java and test methods will start with "test".

to verify run mvn verify in the project root, you should see all of the projects build.

Future PRs will add more tests to cover more of the SDK.

Comment thread tests/src/test/java/com/redhat/cloud/KafkaManagementIT.java
@wtrocki
Copy link
Copy Markdown
Collaborator

wtrocki commented Aug 17, 2021

Considering that we can copy paste other sdks examole it will be good to have some single method call from each. We also need docs/link to examples/test folder.

@wtrocki
Copy link
Copy Markdown
Collaborator

wtrocki commented Nov 5, 2021

Maybe we can merge that?

@wtrocki
Copy link
Copy Markdown
Collaborator

wtrocki commented Jan 17, 2022

@secondsun Any reason why this work have been abandomed? Can we merge that?

@wtrocki wtrocki merged commit 3f2c176 into redhat-developer:main Jan 17, 2022
andreaTP pushed a commit to andreaTP/app-services-sdk-java that referenced this pull request Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants