-
Notifications
You must be signed in to change notification settings - Fork 469
Running tests
First of all, you have to install the dependencies of the testing framework. In path/to/owtf/tests/ there is a small script to achieve this task: install_testing_dependencies.sh.
To run the tests you will use the run_tests.py script. The options for this script are:
- -h/--help. Shows a help message.
- -a/--all. Runs all the tests.
- -m TestsClassName. Looks for the class TestClassName and runs all its tests. This options accepts a comma-separated list of classes.
- -o path/to/file. Runs the tests contained in the specified file. This option accepts a comma-separated list of paths.
- -c, --with-coverage. Tell the runner to perform test coverage analysis. Onli compatible with the -a/--all option.
- plugin|framework|testing_framework. The tests are separated in three categories: plugin, framework and testing_framework. To run only one category, specify one of the options. Example: "run_tests.py plugin" will run all the tests for the plugins.
- If the coverage option is enabled, the coverage report will be written to path/to/owtf/tests/cover/ in HTML format.
- After running the tests, there will be a results report in path/to/owtf/tests/tests.log.html in HTML format. If some tests are failing, the information about the stdout, logging and errors will be available in this report.
This wiki and the OWTF README document contains a lot of information, please take your time and read these instructions carefully.
We provide a CHANGELOG that provides details about almost every OWTF release.
Be sure to read the CONTRIBUTING guidelines before reporting a new OWTF issue or opening a pull request.
If you have any questions about the OWTF usage or want to share some information with the community, please go to one of the following places:
- IRC channel
#owtf
(irc.freenode.net)
Google Summer of Code 2018 Guide
Installation
Getting Started
- Define where your tools are
- Run OWASP OWTF
- HTTP Auth Configurations
- Simulation mode
- AUX plugins usage
- FAQ
SET usage
Cookbooks (GSoC 2014 Projects UPDATE)
-
Zest Integration:
- Quick Guide to get started with Zest,ZAP and Replay
- Zest and ZAP API Installation
- Zest and ZAP integration Introduction
- Zest Runner module
- Forward HTTP request to ZAP
- Zest script creation from single HTTP transaction
- Zest script creation from multiple HTTP transactions
- Zest Script Creator module
- HTTP Request Editing Window (Replay Function)
- Zest Script Recording Functionality
- Zest scripting console
Development
-
Plugins:
-
Tests:
Contact