xamarin-macios/tests/cecil-tests
Manuel de la Pena b1ea4b51aa
[CI] Allow tests to be ran in parallel. (#15322)
This allows the CI to run ALL the tests that the project has in
parallel. This is divided in two main changes:

1. Xharness - We move away from using boolenas to use a flag that states
   the tests to run.
2. yaml - We have move the code to use a template per label. This new
   jobs all run in parallel and the results are later collected by a
   funel job
3. pwsh - Added a new class that understands that we have several mark
   downs with the tests results. The classes parses them and them writes
   a single comment (and example can be found here: https://github.com/xamarin/xamarin-macios/pull/15201#issuecomment-1162366240

The changes gives the following advantages vs how we used to run tests:

1. The CI run for all tests moves from taking 13 hours to 3/4 hours
   (depending on the number of bots in the pool).
2. The download needed to verify the results on a case of failure is
   smaller. Rather than downloading several GBs we now just download
   that part of the html that we are interested in.
3. Better bot utlization. Bots are just used to a max of 2 hours, this
   means that we can use the bots better since they are fragmented.
4. Less VMs. VSDrops has added support for macOS and Linux, we take
   advanges of that here.


Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
2022-06-23 08:54:21 -04:00
..
AttributeTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
CecilExtensions.cs [tests][cecil-tests] Add new test to verify the constructors we expose. 2021-11-26 14:25:21 +01:00
ConstructorTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
EnumTest.cs Fix some whitespace issues in various files. (#12399) 2021-08-11 10:06:46 +02:00
Helper.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
Makefile [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
MarshalAsTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
ObsoleteTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
OpenTKTest.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
README.md [tests] Add cecil-based unit tests (#7825) 2020-02-10 17:23:12 -05:00
Test.cs [cecil-tests] Improve these tests a bit. (#14994) 2022-05-13 20:50:02 +02:00
cecil-tests.csproj [CI] Allow tests to be ran in parallel. (#15322) 2022-06-23 08:54:21 -04:00
cecil-tests.sln [tests][cecil-tests] Add new test to verify the constructors we expose. 2021-11-26 14:25:21 +01:00

README.md

Cecil-based Tests

Even with the huge variety of tests that we have there's still a few things that are hard to test properly. Some of them can be tested by analyzing the assemblies (IL or metadata). So here we are...