-
Notifications
You must be signed in to change notification settings - Fork 16
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
Hope to obtain the environment configuration of Mutahunter #24
Comments
The only required environment configuration is setting the LLM API key. After installing the mutahunter package via pip, you just need to set your API key by running export OPENAI_API_KEY="your_key_here". Does this help? |
(E:\conda_envs\mutahunter) PS E:\github_projects\LLM-unittest\mutahunter-main\examples\java_maven> mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< com.example:demo >--------------------------
[INFO] Building demo 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (default) @ demo ---
[INFO] argLine set to -javaagent:E:\\repository\\org\\jacoco\\org.jacoco.agent\\0.8.7\\org.jacoco.agent-0.8.7-runtime.jar=destfile=E:\\github_projects\\LLM-unittest\\mutahunter-main\\examples\\java_maven\\target\\jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\github_projects\LLM-unittest\mutahunter-main\examples\java_maven\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ demo ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\github_projects\LLM-unittest\mutahunter-main\examples\java_maven\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ demo ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ demo ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running BankAccountTest
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in BankAccountTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:report (report) @ demo ---
[INFO] Loading execution data file E:\github_projects\LLM-unittest\mutahunter-main\examples\java_maven\target\jacoco.exec
[INFO] Analyzed bundle 'demo' with 1 classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.327 s
[INFO] Finished at: 2024-11-23T12:23:41+08:00
[INFO] ------------------------------------------------------------------------
The above commands have been tried without success.
|
Mutahunter is a great work in my opinion. I hope that after pulling the open-source code from GitHub, I can configure it and make the code run. However, the README page of Mutahunter is the user's instruction manual rather than the developer's. Could you please tell me some necessary environment configurations? Thank you very much. (The configuration I currently know is Python 3.11+)
The text was updated successfully, but these errors were encountered: