xharness
xharness copied to clipboard
C# command line tool for running tests on Android / iOS / tvOS devices and simulators
We see quite often in the logcat something like this: ``` chatty : uid=10225(net.dot.System.Net.Sockets.Tests) expire 102 lines ``` The chatty service removes log messages if a process logs too many...
It seems like that for Apple devices, it can happen that: - We create the TCP tunnel in MacOS - We start the app - The TCP tunnel disconnects again...
The following fix - must be ported to **dotnet/xharness**: https://github.com/xamarin/xamarin-macios/pull/15449/
For the WASM leg of CI, we get `System.Reflection.Tests.zip` from https://netcorenativeassets.blob.core.windows.net/resource-packages/external/wasm/System.Reflection.Extensions.Tests.zip . But those tests are very old - from `Jun 26 2020` to be exact. 1. Is there a...
`OuterLoop`, and `SkipOnPlatform` attributes conflict, and don't work correctly when used together
Consider https://github.com/dotnet/runtime/blob/978df67ced885aeca5f7e75379451bc1a57cc219/src/libraries/System.Net.WebSockets/tests/WebSocketCreateTest.cs#L40-L45 ```csharp [OuterLoop("Uses external servers")] [Theory] [MemberData(nameof(EchoServers))] [SkipOnPlatform(TestPlatforms.Browser, "System.Net.Sockets is not supported on this platform.")] [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WebSocketProtocol_CreateFromConnectedStream_CanSendReceiveData(Uri echoUri) ``` This has both `OuterLoop`,...
It seems we skip some steps [here](https://github.com/dotnet/xharness/blob/2863beb74c1abad7ddfe9ef7afea6fc2605e8a03/src/Microsoft.DotNet.XHarness.iOS.Shared/CrashSnapshotReporter.cs#L98) and the crash reports don't get symbolicated. Crashing app is here: https://dev.azure.com/xamarin/public/_build/results?buildId=58903&view=logs&j=84a022bb-4bdc-5585-8146-137444174249&t=d794747c-65a6-5105-c6e6-e1e37436ed3e Or also here: 1. `git clone https://github.com/dotnet/maui` 2. `dotnet build ./Microsoft.Maui.BuildTasks.slnf`...
Extra app arguments that are sent to app are not readable in the app. **This is probably an mlaunch regression** but logging it down to not forget about it. Passing...
Testing with iOS is so nice in that it creates a custom simulator and boots it up. It would be awesome if we could get the same for Android.
[Archive.zip](https://github.com/dotnet/xharness/files/5587157/Archive.zip) The attached project is just a basic sample created from the VS MAC Xamarin.Forms Templates. I've added a cake script so you can run the tests from the command...
Address the feedback from https://github.com/dotnet/xharness/pull/242