xamarin-macios/tests/sampletester
Sebastien Pouliot 15938de198
[generator] Add C#8 nullability into generated code (#7570) (#8333)
Goals
* Reflect Apple nullability annotations in our bindings using C#8
* No warnings when building bindings

Non-Goals
* Update (add or fix) `[NullAllowed]` to match Apple headers (next phase)
* Make the generator or internal code fully nullable aware (`nowarn` is used)

Notes
* Apple's own annotations are not 100% accurate :(
* Where known issue exists we have _fixed_ our attributes to match reality :)
* We also do additional null-checks internally that might seems not required (better safe than sorry).
2020-04-10 12:38:14 -04:00
..
BaselineTest [sample-tester] Collect app size and build duration statistics. (#7602) 2019-12-20 16:27:36 +01: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 [sample-tester] Collect app size and build duration statistics. (#7602) 2019-12-20 16:27:36 +01: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 [sample tests] Fix variable calculation to calculate once. (#6061) 2019-05-17 09:21:00 -07:00
ProcessHelper.cs [SampleTester] Add 4 new samples (#7758) 2020-01-28 15:40:52 -05:00
README.md Update sampletester docs and fix typos (#7822) 2020-02-10 08:10:40 -05:00
SampleTester.cs [tests][sampletester] Allow project(s) removal (#7766) 2020-01-29 13:12:09 -05:00
Samples.cs [tests][sampletester] Allow project(s) removal (#7766) 2020-01-29 13:12:09 -05: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 [generator] Add C#8 nullability into generated code (#7570) (#8333) 2020-04-10 12:38:14 -04:00
sampletester.sln [sample-tester] Collect app size and build duration statistics. (#7602) 2019-12-20 16:27:36 +01: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 for the listed branches. This includes:

  • master
  • d16-x - i.e. one or many active release branches
  • xcodeY - i.e. the current xcode beta feature branch
  • mono-202z-zz - i.e. the mono integration branches (new one every two months)

where x, Y and z needs to be periodically updated as new branches are created (e.g. d16-x) and old ones are merged into master (e.g. xcodeY and mono-202z-zz).

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.