UlrichFreiberg / STF

Simple Test Framework - a framework for frameworks
2 stars 0 forks source link

TestCaseStepFileUtils: GetFilePathForStep should use ExistingFilePaths and not TestCaseStepFilePaths #86

Open brobinsondk opened 2 years ago

brobinsondk commented 2 years ago
  1. Create a test case with two steps (one config.txt, two templates Template.txt and Template2.txt)
  2. Construct a new TestCaseStepFilePathUtils.
  3. Can already see that testCaseStepFilePaths contains three entries, existingFilePaths contains 2. (see screenshots)
  4. When then call GetFilePathforStep (with step=3 we get the second step filePath returned
  5. GetFilePathForStep should perhaps return null if step param is greater than Number of Steps (chat if needed )

image

image

image