From ba224f150da9a2d778d58815fe701c7f4e1753d0 Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Tue, 19 Feb 2019 13:12:14 +0000 Subject: [PATCH 1/2] Requests tests to support code changes --- src/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/README.md b/src/README.md index 1b78d68..78bfbc5 100644 --- a/src/README.md +++ b/src/README.md @@ -188,3 +188,6 @@ If another Hunter subscribes to the events that this Hunter publishes, if can a The process of proving vulnerabilities, is the base concept of the Active Hunting. To prove a vulnerability, create an `ActiveHunter` that is subscribed to the vulnerability, and inside of the `execute`, specify the `evidence` attribute of the event. *Note that you can specify the 'evidence' attribute without active hunting* + +## Tests +Although we haven't been rigorous about this in the past, please add tests to support your code changes. From ae45814221b50e4f0837281b56fcf309c08ce00e Mon Sep 17 00:00:00 2001 From: Liz Rice Date: Tue, 19 Feb 2019 15:24:47 +0000 Subject: [PATCH 2/2] Update README.md --- src/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/README.md b/src/README.md index 78bfbc5..a09ee1d 100644 --- a/src/README.md +++ b/src/README.md @@ -190,4 +190,8 @@ To prove a vulnerability, create an `ActiveHunter` that is subscribed to the vul *Note that you can specify the 'evidence' attribute without active hunting* ## Tests -Although we haven't been rigorous about this in the past, please add tests to support your code changes. +Although we haven't been rigorous about this in the past, please add tests to support your code changes. Tests are executed like this: + +```bash +python runtest.py +```