-
Notifications
You must be signed in to change notification settings - Fork 137
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
How to test using maven #86
Comments
Hi tcho16! DISCLAIMER: I have no personal experience with configuring/running Maven at all. First of all, it's important to realize that neither LuaUnit nor busted offer direct out-of-the-box support for Maven (i.e. provide a suitable plugin). Instead, they both allow output of test results as XML in a JUnit-compatible format ("xUnit"). For If I understand it correctly, Maven integration thus consists of two steps:
Questions related to step 1. have been asked several times on StackOverflow - here's an answer that I found useful. If you are content with a simple Step 2. seems to be the more interesting one. While searching for a solution, I came across https://github.com/qqilihq/maven-test-parser-plugin which seems very helpful. Regards, NiteHawk |
@n1tehawk Thanks for the input. Showed me some light in finding my answer but got there in the end :) Ended up using the TAP output from busted alongside the |
You're welcome! It was an interesting question, and this information might help others in the future. The |
Hi I've currently written tests using the lua busted framework but turns out there isn't any maven plugins for busted. I came across luaunit and you claim that I can use luaunit in maven. I tried looking for the luaunit maven plugin but couldn't find any. Could you tell me how I could incorporate this luaunit test on maven. Thank you.
The text was updated successfully, but these errors were encountered: