NetExec/tests
Marshall Hallenbeck 0bdbdc7eab fix(tests): add second parameter for ftp put location 2023-10-26 19:10:58 -04:00
..
data Added function tests + test file for FTP upload/download testing 2023-10-03 04:09:13 +00:00
README.md rename folders, files, functions, classes, etc to NetExec/nxc 2023-09-14 17:07:15 -04:00
e2e_commands.txt fix(tests): add second parameter for ftp put location 2023-10-26 19:10:58 -04:00
e2e_test.py feat(tests): allow running specific proto tests via --protocols 2023-10-20 15:02:37 -04:00
test_smb_database.py refactor: remove Python shebangs since they are not needed 2023-10-21 23:45:16 -04:00

README.md

nxc Tests

Running Tests

Unit Tests

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

End to End Tests

  • Install nxc (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