https://github.com/sheepreaper/tanium-assessment
https://github.com/sheepreaper/tanium-assessment
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sheepreaper/tanium-assessment
- Owner: SheepReaper
- License: mit
- Created: 2021-07-15T07:05:35.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-31T03:45:04.000Z (over 1 year ago)
- Last Synced: 2025-02-15T09:42:57.325Z (over 1 year ago)
- Language: Python
- Size: 224 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Assessment Instructions
## Run the Scenario
**Requirements**
The assesment scenario requires `requests` and `returns`.
Install them via `pipenv` or your own package-manager:
```shell
pipenv install
```
**Running It**
Activate your virtual environment, or enter a pipenv shell:
```shell
pipenv shell
```
Run it:
```shell
./run-scenario.py
```
## Run the unit tests
**Requirements**
The tests require `pytest` and `requests-mock`.
Install them (and all other dev dependencies) via `pipenv` or your own package-manager:
```shell
pipenv install --dev
```
**Running the tests**
Run it:
```shell
pytest
```
## Generate a coverage report
**Requirements**
The coverage report requires `coverage`.
Install it (and all other dev dependencies) via `pipenv` or your own package-manager:
```shell
pipenv install --dev
```
**Build Report**
Run this:
```shell
coverage run
coverage html
```
**View Reports**
Report is output in html to the `docs/` directory. Just open `index.html` in a browser.
Or check out the latest published version [Here](https://sheepreaper.github.io/tanium-assessment/index)