We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We may generate a submodule that contains all the pankti-generated test cases. The benefits of doing so include:
Test*PanktiGen.java
object-data.xml
xstream
This is an example that I manually did for TTorrent: https://github.com/gluckzhang/ttorrent/tree/ttorrent-2.0-pankti
What I did in this example:
mkdir pankti-tests
<module>pankti-tests</module>
pom.xml
pankti-tests
src/test/java
src/test/resources
cd path/to/pankti/pankti-generate/output/generated/ttorrent find . -type f -name "Test*PanktiGen.java" -exec cp --parents {} path/to/ttorrent/pankti-tests/src/test/java \; cp *.xml path/to/ttorrent/pankti-tests/src/test/resources
This is for the convenience of our experiments. At last we might still put the generated test cases in the original submodules to create a PR.
The text was updated successfully, but these errors were encountered:
This was really useful @gluckzhang! Thanks!
Sorry, something went wrong.
No branches or pull requests
We may generate a submodule that contains all the pankti-generated test cases. The benefits of doing so include:
Test*PanktiGen.java
andobject-data.xml
need to be copied to the submodule, because this module depends on all the original submodulesxstream
as a dependencyThis is an example that I manually did for TTorrent: https://github.com/gluckzhang/ttorrent/tree/ttorrent-2.0-pankti
What I did in this example:
mkdir pankti-tests
and add<module>pankti-tests</module>
in the rootpom.xml
pankti-tests
, add all of the original submodules as its dependencies, addxstream
as its dependency as well: https://github.com/gluckzhang/ttorrent/blob/ttorrent-2.0-pankti/pankti-tests/pom.xmlsrc/test/java
, put the object data xml files insrc/test/resources
This is for the convenience of our experiments. At last we might still put the generated test cases in the original submodules to create a PR.
The text was updated successfully, but these errors were encountered: