Replies: 2 comments
|
Good news: Testing is a fairly simple main method. jbang init -t junit Myapp.java Give you that. Coverage is a pain - I reckon use of Jacco agent is the best way here? But no; haven't settled on some good approach that didn't feel like massive lockin. But open for suggestions/ideas. |
0 replies
|
Hey, thanks a lot for the reply! indeed i am thrilled by the coverage part, but tests are not an issue with jbang, thank you very much! when i get something from jacoco people, i'll come back and update the sample and this discussion. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello all,
I am exproring jbang and currently testing how far it is ;possible to go using only jbang, without exporting maven or gradle projects.
so far, so good, however when i tried to add tests and coverage, i had to do this:
https://github.com/sombriks/hello-jbang/blob/main/06/Test.java
now i am wondering if there is a simpler, cleaner way to get those working properly.
any tip is welcome.
All reactions