I'm using nunit3-console runner for my Selenium tests project. After tests were run I find TestResult.xml file in folder from where I've started nunit3-console runner. Also the destination path of this file can be specified in command line using "--result" option. At the end of the tests I wish to collect all logs and reports into my custom specific folder.
How can I get programmatically current path (either default or specified in command line) for TestResult.xml file, to be sure, that its copying or moving always will be successful?
Is it possible to set/override this option in program code?