Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.51 KB

readme.md

File metadata and controls

34 lines (22 loc) · 1.51 KB

F# QA Tests

Layout description

Source/test.lst

This file is the entry point in the test discovery system of F# QA suite.

About the format:

  • lines starting with # are considered as comments,
  • each entry is defined in a single line
  • elements within entry are tab delimited ** first element is a comma separated list of tags classifying the tests of that entry ** last element is the folder containing the tests
  • each of the entries' folder have a env.lst file listing individual tests

env.lst

(TODO, describe the format)

Workflow when adding or fixing tests

You can use run.fsharpqa.test.fsx script, and edit the end of it to specify which classifying tag you are working with. Evaluating the script should run the relevant tests.

A convenience "fsharpqafiles.csproj" project is located in the fsharp.sln solution, the only purpose is to facillitate navigation to test files that frequently need to be edited from within the IDE/text editor environment.

  • edit Source/test.lst, find the entry you like to work with and give it a unique tag (e.g. "RERUN")
  • within the suite, if you are only interested about a specific test, you can comment lines in env.lst files by prepending those with #
  • adjust run.fsharpqa.test.fsx and evaluate it
  • open ../TestResults/runpl.log which should contain failures or be empty (in which cases, your tests are passing).
  • adjust the tests and repeat from step 2

(TODO, provide some guidance about how to define env.lst files)