-
Notifications
You must be signed in to change notification settings - Fork 94
Docker Support for White box Testing #1177
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
Comments
Docker support for white-box testing will be provided in the future, but it is not a major priority now. there are too many other tasks on our backlog that have higher priority :( |
Thank You for your response @arcuri82 After ..Either black box or white box testing generates test classes ...Should we validate or Execute them If yes how ? |
EM generates test cases, with the goal of maximing code coverage when executed and finding faults. how you use these test cases is up to you |
hi @arcuri82 , is it needed that EmbeddedEvomasterController class should be written in only src/test/java folder ? while maven building this EmbeddedEvomasterController.java class is not being added on fat jar But it did when i added that class in main folder ..for ex: src/main/java In intelli J it is running fine without errors but while running cmd line please check below command : java -Djdk.attach.allowAttachSelf=true --add-opens java.base/java.util.regex=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED -jar target/test-jar.jar but while running with command line getting below error 15:18:27.892 [main] INFO org.testcontainers.utility.ImageNameSubstitutor -- Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor') |
@naveensabavath what you are asking is not really directly related to EM, but to how to setup JUnit tests in a Maven/Java project. That is independent of whether they are created by EM or written manually. |
thx. we keep "feature requests" open until we implement them, or decide that for sure we would not |
hi @arcuri82 ,
Subject: Inquiry About Docker Support for White-Box Testing in EvoMaster
Hi @arcuri82 ,
I came across the EvoMaster documentation, which states that running white-box tests from Docker is currently not supported and is discouraged due to hostname and ephemeral port resolution issues.
I wanted to ask if there has been any progress on this, or if support for white-box testing in Docker is planned for future development.
Statement in Documentation :
IMPORTANT
For white-box testing, running from Docker is currently not supported. As such, it is discouraged. You can try it, but likely you will get major issues with hostname and ephemeral port resolutions, as well as issues with external dependency mocks.
The text was updated successfully, but these errors were encountered: