-
Notifications
You must be signed in to change notification settings - Fork 161
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
Cannot Run Kapua Unit Tests #2994
Comments
Coduz
added
Bug
This is a bug or an unexpected behaviour. Fix it!
Test
Test related stuff. It's a dirty job, but someone needs to do that!
labels
Jun 17, 2020
LeoNerdoG
added a commit
to LeoNerdoG/kapua
that referenced
this issue
Nov 5, 2020
I have update several things: - updated root README.md file - updated "runTests.md" file with updated commands - updated pom files In general documentation (root README.md file) some minor syntax errors have been fixed. In "runTests.md" file the commands for runnind pure JUnit tests has been fixed. Because integration tests in dockerized environment were not working (docker containers have started in every submodule) I changed the pom.xml files of qa/integration, qa/integration-steps, qa/commons and qa/markers modules. Now eveything works fine, user is again able to run tests from his local machine. This should fix issues eclipse-kapua#2993, eclipse-kapua#2994 and eclipse-kapua#2995. Signed-off-by: Leonardo Gaube <leonardo.gaube@endava.com>
LeoNerdoG
added a commit
to LeoNerdoG/kapua
that referenced
this issue
Nov 6, 2020
I have update several things: - updated root README.md file - updated "runTests.md" file with updated commands - updated pom files - added codeCov badge In general documentation (root README.md file) some minor syntax errors have been fixed. In "runTests.md" file the commands for runnind pure JUnit tests has been fixed. Because integration tests in dockerized environment were not working (docker containers have started in every submodule) I changed the pom.xml files of qa/integration, qa/integration-steps, qa/commons and qa/markers modules. Now eveything works fine, user is again able to run tests from his local machine. This should fix issues eclipse-kapua#2993, eclipse-kapua#2994 and eclipse-kapua#2995. Last, I added codeCov badge to Kapua's "front page" - root README.md file. Signed-off-by: Leonardo Gaube <leonardo.gaube@endava.com>
LeoNerdoG
added a commit
to LeoNerdoG/kapua
that referenced
this issue
Nov 6, 2020
I have update several things: - updated root README.md file - updated "runTests.md" file with updated commands - updated pom files - added codeCov badge In general documentation (root README.md file) some minor syntax errors have been fixed. In "runTests.md" file the commands for runnind pure JUnit tests has been fixed. Because integration tests in dockerized environment were not working (docker containers have started in every submodule) I changed the pom.xml files of qa/integration, qa/integration-steps, qa/commons and qa/markers modules. Now eveything works fine, user is again able to run tests from his local machine. This should fix issues eclipse-kapua#2993, eclipse-kapua#2994 and eclipse-kapua#2995. Last, I added codeCov badge to Kapua's "front page" - root README.md file. Signed-off-by: Leonardo Gaube <leonardo.gaube@endava.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the KapuaRunTests.md guide, I was unable to run unit tests with command
mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests'
.integration tests within dockerized environment with
mvn test -PI9nTests
command.@Coduz can you please assign this issue to me, since I have noticed this couple of days ago and have made some progress fixing this?
Testflow:
mvn clean install -DskipTests
mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests'
Expected behavior
If user runs command
mvn test -Dgroups='org.eclipse.kapua.test.junit.JUnitTests'
the unit tests should be run normally.Screenshots
Version of Kapua
1.3.0-SNAPSHOT
Type of deployment
[ ] Local Vagrant deployment
[X] Docker
[ ] Openshift (in its variants)
[ ] Others
Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[X] - Others
The text was updated successfully, but these errors were encountered: