To export a project’s tests from SanityHub.com into *.Sanity files, in Sanity Studio click “Export to folder” from “Import” menu.
The converter tool is located at R:\Tools\Sanity\SanityToPangolin.
This is the input folder for the application which is where you previously exported your sanity test files. So this folder is expected to contain *.Sanity files (or subfolders) for a project.
This is the output folder for the convertor tool. It should be an empty folder, ideally named “Tests” and inside your project’s solution root folder. It’s where it will generate C# files (Pangolin tests) that are equivalent of each *.Sanity file.
When you click “Convert”, a new .csproj file will be created, which is of type Visual Studio Unit Test project. Then every .sanity file in the input folder will be converted to a .cs file in the output folder and then automatically included in the project (.csproj)
The exported folder from Sanity contains a file named baseUrls.txt which simply contains the URL of the runnable test app. The convertor will transfer the contents of that file (which is just a URL) to a newly generated app.config file in the destination, so it’s available at runtime.