merge Script Overview with TC Breakdown page.

master
Craig Oates 5 years ago
parent
commit
8ac044ff54
  1. 10
      TestCentre-Breakdown.md

10
TestCentre-Breakdown.md

@ -17,3 +17,13 @@ As there names imply, "ConsoleTests.fs" and "LibraryTests.fs" houses the tests o
![testcentre split overview](attachments/testcentre-split-overview.png)
The folder ("SavingTestArea"), provides an area for TestCentre to actually save the images it produces. If you do not see it in your solution, you might need to create it yourself. This will become clear when you run the tests, because they will fail. If you need to add "SavingTestArea" to your copy of TestCentre, make sure it matches the location in the above diagram.
As stated above, there is a F# script file included in TestCentre. For the most part, you should never need to use it. The main purpose of it is to provide a place for "throw away" code.
At this moment in time, "Script.fsx" provides code for you to delete any/all files in the "SavingTestArea" folder. With that said, you should only need to use it if the images are not deleted after running the unit/property tests. If that is the case, that usually means there is a problem with the tests or the projects they are testing. Either way, you should look into it.
If you are unfamiliar with using F# scripts and F# Interactive (FSI), please use the following links:
- [Script.fsx](https://gitlab.com/craig.oates/Smouldering-Beach-Ball/blob/master/TestCentre/Script.fsx)
- [F# Interactive (FSI)](https://docs.microsoft.com/en-us/dotnet/fsharp/tutorials/fsharp-interactive/)
- [Scripting with F#](https://fsharpforfunandprofit.com/installing-and-using/) (it's a little dated but it contains enough information to get you going)

Loading…
Cancel
Save