Script unittest
Script types:
prerule
Categories:
safe
Download: https://svn.nmap.org/nmap/scripts/unittest.nse
Script Summary
Runs unit tests on all NSE libraries.
Script Arguments
- unittest.run
Run tests. Causes
unittest.testing()
to return true.- unittest.tests
Run tests from only these libraries (defaults to all)
Example Usage
nmap --script unittest --script-args unittest.run
Script Output
Pre-scan script results: | unittest: |_ All tests passed
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html