NetExec/tests
Marshall Hallenbeck 4c76a30a4a tests: working tests for add and update hosts 2023-03-26 01:50:59 -04:00
..
README.md tests: add e2e tests and README 2023-03-24 14:25:17 -04:00
e2e_commands.txt tests: add e2e tests and README 2023-03-24 14:25:17 -04:00
e2e_test.py tests: print out total tests and how many passed/failed at end 2023-03-26 01:20:08 -04:00
test_smb_database.py tests: working tests for add and update hosts 2023-03-26 01:50:59 -04:00

README.md

CME Tests

Running Tests

Unit Tests

  • Install CME (either in venv or via Poetry)
  • Run pytest (or poetry run pytest)

End to End Tests

  • Install CME (either in venv or via Poetry)
  • Run python tests/e2e_tests.py -t $IP -u $USER -p $PASS, with optional -k parameter
    • Poetry: poetry run python tests/e2e_tests.py -t $IP -u $USER -p $PASS