xamarin-macios/tests/sampletester
Rolf Bjarne Kvinge 8eb23eed0f
[xcode11][tests] Provision dotnet for the sample tests. Fixes xamarin/maccore#1811. (#6473) (#6488)
* [sampletester] Use dotnet v2.2.1XX if available. (#6185)

Works around https://github.com/NuGet/Home/issues/7956.

* [tests] Provision dotnet for the sample tests. Fixes xamarin/maccore#1811. (#6473)

Also synchronize configuration file creation to not run into threading issues.

Fixes https://github.com/xamarin/maccore/issues/1811.
2019-07-11 01:49:42 -07:00
..
Properties [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
images [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
.gitignore [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
BaseTester.cs [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
Configuration.cs [xcode11][tests] Provision dotnet for the sample tests. Fixes xamarin/maccore#1811. (#6473) (#6488) 2019-07-11 01:49:42 -07:00
GitHub.cs [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
HtmlReport.xslt [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
Makefile [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
ProcessHelper.cs [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
README.md [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
SampleTester.cs [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
Samples.cs [sampletester] Bump prebuilt-apps hash. (#6017) 2019-05-09 06:29:39 +02:00
TestPlatform.cs [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
packages.config [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
sampletester.csproj [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00
sampletester.sln [tests] Add sample tester. (#5870) 2019-04-25 17:18:43 +02:00

README.md

Sample testing

These unit tests clone a series of known repositories that contain sample projects, and build all the relevant projects in those repositories.

It is executed automatically in Azure DevOps every [Saturday][2] for the following branches:

  • master
  • d16-*
  • xcode*

It can also be triggered manually, but have in mind that the commit in question must already have packages (as GitHub statuses).

It's also possible to use the sample tests from one commit, and then test with Xamarin.iOS/Xamarin.Mac a completely different commit, by setting the PROVISION_FROM_COMMIT variable to the commit that's to be tested:

screenshot

The previous point is still required: the commit to provision from must have packages.

There are two ways to run these tests locally:

  • Launching xharness in server mode and execute the "Sample tests" (they're disabled by default).
  • Executing make in this directory.