2

I have some dockerized F# tests written by expecto and fscheck frameworks, as a dotnet core standalone executable.

How to configure continuous integration on Team Foundation Server to run them and get the report after each run accordingly?

Mohsen
  • 4,000
  • 8
  • 42
  • 73

2 Answers2

1

If you mean you already have the docker image which has the proper SDK/envirement, then you just need to run the image in TFS with CI build (Configure continuous integration).

To run the image, you need to install the Docker Integration extension, please refer to Build, push and run Docker images with Visual Studio Team Services for details.

Other articles may help:

Andy Li-MSFT
  • 28,712
  • 2
  • 33
  • 55
  • @Mohsen Have you resolved the issue? is that help for you? any update? – Andy Li-MSFT Jan 18 '18 at 08:54
  • :Sorry Andy the last link you provided was useful,but I encountered other issues (such as this:https://stackoverflow.com/questions/48297951/how-to-use-docker-with-paket/48328457#48328457) in details that interfered testing the solution. – Mohsen Jan 20 '18 at 05:35
1

Configure Expecto to output NUnit-equivalent XML files with https://www.nuget.org/packages/Expecto.TestResults/

The docs are here https://github.com/haf/expecto/#testresults-file

Then just run the executable and have the CI server pick up the outputted XML file.

Henrik
  • 9,714
  • 5
  • 53
  • 87