Commit Graph

4 Commits

Author SHA1 Message Date
Martin Gallo c348d94b0f Tests: Refactor DCE/RPC endpoints test cases (#1151)
Main changes are:
* Moved DCE/RPC endpoints test cases to a separate folder to better match code layout
* Using a base class for test cases to abstract code and reduce reuse
* Improved some of the tests cases to avoid code duplication
* Marking and skipping tests cases known to be failing
2021-09-03 15:15:31 -03:00
Martin Gallo c39fc6e48c Tests: Simplify remote configuration (#1131)
* Merged TCP and SMB transport configuration into only one.
* Abstracted remote configuration parsing routines into functions.
* Remote config file can now be specified as pytest option.
* Added some notes on testing guide.
2021-07-29 12:37:30 -03:00
Martin Gallo 2d32383811 Tests: Refactored configuration of remote test cases (#1122)
Refactored configuration to avoid duplicated code.

Main changes are:
* Moved AES keys config to base class
* Moved hash split to base class
* Made machine hashes parameters optional
* Made AES keys parameters optional
* Updated testing guide
2021-07-16 10:44:12 -03:00
Martin Gallo 6bb5ea427b Tests: Continue refactor of test cases (#1112)
Continue refactor some of our test cases structure.

Main changes introduced are:
* Moved testing guide as a separate file and added some of the steps to configure the test environment.
* Leveraging unittest.main to catch command-line args and build the default suite.
* Only running GitHub actions workflow once for our own branches/PRs.
* Remote test config file can be specified via an env var now.
* Moved remote test config to a template and ignored config file.
2021-07-02 12:22:14 -03:00