Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve testing suite #315

Merged
merged 15 commits into from
May 25, 2024
Merged

Improve testing suite #315

merged 15 commits into from
May 25, 2024

Conversation

NeffIsBack
Copy link
Contributor

@NeffIsBack NeffIsBack commented May 19, 2024

What have been done:

  • Removed bh__owned.py module as it is redundant now and throws errors.
  • Added creds for testing in the GOAD lab
  • Removed tests with --options as it technically doesn't add any testing value (just printing a string)
  • Solved the "data/test_uernames.txt" testing issue with setting the cwd from the opened subprocess
  • Some QOL changes like having a time tracking feature when tests are finished
  • --print-failures defaults to true now as i find that very very useful
  • The tests are also tracking tracebacks now:
    image

Base automatically changed from marshall-tests-fix to main May 19, 2024 21:46
@NeffIsBack NeffIsBack changed the title Neff e2e tests Improve testing suite May 19, 2024
mpgn
mpgn previously approved these changes May 20, 2024
Copy link
Collaborator

@Marshall-Hallenbeck Marshall-Hallenbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added one little bugfix (it was from the mssql output from my previous changes anyway.

LGTM

Copy link
Collaborator

@Marshall-Hallenbeck Marshall-Hallenbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NeffIsBack if my changes look good feel free to merge.

…er logic, add put/get file tests for smb, and fix file referencing in tests
@NeffIsBack
Copy link
Contributor Author

@NeffIsBack if my changes look good feel free to merge.

Gonna wait until #225 is merged so we don't have merge conflicts again

Signed-off-by: Marshall Hallenbeck <Marshall.Hallenbeck@gmail.com>
@Marshall-Hallenbeck
Copy link
Collaborator

@NeffIsBack I fixed the conflicts in the e2e tests and removed the -h test for each protocol since I think its unnecessary, but I kept the overall -h just so we're making sure the argparse is working

@NeffIsBack NeffIsBack merged commit b855dac into main May 25, 2024
6 checks passed
@NeffIsBack NeffIsBack deleted the neff-e2e_tests branch May 25, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants