Testing
#303
Replies: 1 comment 1 reply
-
Thanks for this information. This is something I would really like to put in place, but I never found the time to learn how (way too many things to learn already...). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I implement testing capabilities?
Now I'm using this guide https://www.baeldung.com/junit-5.
https://www.baeldung.com/maven-cant-find-junit-tests
Using this guide, I have something working.
This also needs to have another tree structure.
src
->src/main/java
. The test is in the src foldersrc/test/java
, the resources insrc/test/resources
. For maven to pick up on this the pom file needs to be changed:And I added (this have to go to the main pom?):
Result maven build will fail if test fails. The test I added converts a
.tg file
to.musicxml
and then runsxmllint
to validate against the MusicXml-4.0 schema.Beta Was this translation helpful? Give feedback.
All reactions