lundi 11 avril 2016

What is the purpose of directories defined by TestContext?

These are the (non-deprecated) directories defined in TestContext class and their respective definitions.

DeploymentDirectory

  • Gets the directory for files deployed for the test run. This property typically contains a subdirectory of TestRunDirectory.

ResultsDirectory

  • Gets the top-level directory that contains test results and test result directories for the test run. This is typically a subdirectory of TestRunDirectory.

TestResultsDirectory

  • Gets the directory for the test result files.

TestRunDirectory

  • Gets the top-level directory for the test run that contains deployed files and result files.

TestRunResultsDirectory

  • Gets the top-level directory for the test run result files. This property typically contains a subdirectory of ResultsDirectory.

I find them quite ambiguous. Is there some solid example usage for each directory? E.g. if I were to test file I/O would any of those be OK if I wanted to create a temporary lorem ipsum file?

Aucun commentaire:

Enregistrer un commentaire