NetExec/tests
Marshall Hallenbeck 68a3d21c78 fix bug where socket would not exist and updated ftp/ssh-related tests to include file creds 2023-06-18 10:09:01 -04:00
..
data fix bug where socket would not exist and updated ftp/ssh-related tests to include file creds 2023-06-18 10:09:01 -04:00
README.md tests: add details about --errors options for e2e tests 2023-05-11 09:21:24 -04:00
e2e_commands.txt fix bug where socket would not exist and updated ftp/ssh-related tests to include file creds 2023-06-18 10:09:01 -04:00
e2e_test.py black v2 formating 2023-05-08 14:39:36 -04:00
test_smb_database.py fix(tests): update create_workspace call 2023-06-12 10:46:15 -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
  • To see full errors (that might show real errors not caught by checking the exit code), run with the --errors flag