Adding support for Eclipse Jetty
What's the purpose of this PR
Adding submodule jetty-servlet of Eclipse Jetty into the openctest framework
Brief changelog
-
Modified the submodule jetty-servletof and forked own ctest-jetty repository. Created two clean branches, ctest-logging and ctest-injection, in this repo, which can be used for values logging and injection.
-
Modified
core/add_project.shandcore/identify_param/add_project.shso that the project can be automatically added by running the script. -
Added
core/default_configs/jetty-servlet-default.tsvfor default values to facilitate generating ctests. -
Modified
core/identify_paramsubmodule to support identifying jetty-servlet parmas exercised in tests. -
Modified
core/generate_ctestssubmodule to support generating parameter sets for Ctests of jetty-servlet. -
Modified
core/generate_value: support generating valid values for jetty-servlet conf params. -
Modified
core/run_ctestsubmodule to support running generated ctests of jetty-servlet against configuration files.
A demo program_input could be:
p_input = {
"run_mode": "run_ctest",
"project": "jetty-servlet",
"mapping_path": "../../data/ctest_mapping/opensource-jetty-servlet.json",
"conf_file_dir": "sample-jetty-servlet",
"display_mode": False,
"use_surefire": True,
"maven_args": [],
"cmd_timeout": None,
}
Checklist:
- [x] Read the README of original repo.
- [x] Rebase all the commits to make the commits history clear.
- [x] Remove unnecessary files and code.
- [x] Run identify_param, generate_ctests and run_ctest to make sure the code is correct.