Add scan tests (#10)

* recon.targets tests added

* restructured tests logically

* fixed yaml error

* fixed job names

* recon.__init__ tests added

* recon.config tests added

* recon.amass.ParseAmassScan tests added

* fixed test destined to fail on CI pipeline

* testing amass partially complete

this commit closes #6 and #8
updated existing tests to utilize new paths
This commit is contained in:
epi052
2020-01-30 17:25:42 -06:00
committed by GitHub
parent 2793284426
commit 1d5155f930
270 changed files with 21695 additions and 100 deletions

View File

@@ -28,7 +28,7 @@ jobs:
with:
args: ". --check"
test:
test-install:
runs-on: ubuntu-latest
@@ -48,4 +48,24 @@ jobs:
- name: Test with pytest
run: |
pipenv install pytest
pipenv run python -m pytest tests/
pipenv run python -m pytest tests/test_install
test-recon:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Set up pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install -d
- name: Test with pytest
run: |
pipenv install pytest
pipenv run python -m pytest tests/test_recon