Replies: 7 comments 9 replies
-
|
@jesuslpm Can you try v0.19.140 ? |
Beta Was this translation helpful? Give feedback.
-
|
@thomhurst. It does't throw error anymore. But I don't see the test output. When I execute:
It shows: |
Beta Was this translation helpful? Give feedback.
-
|
I enabled diagostics. The output of And the content of |
Beta Was this translation helpful? Give feedback.
-
|
@thomhurst I'm not sure |
Beta Was this translation helpful? Give feedback.
-
|
@thomhurst I believe it is even worse. Tests are not executed at all in Android. I included Note: I'm using my own very simple synchronous assertions. ShouldBe is not from Shouldly. It's just synchronous extension method that raises an exception if it should fail. No reflection, no expressions. AOT compatible It shows the message on windows :
Outputs: Running it on Andoid, I managed to run test using AOT compiled tests using GitHub Actions on Windows, Linux and Mac thanks to TUnit. But I'm not able to run test on emulated Android on my developer machine. Apple devices are even worse, I cannot even compile them. Cross planform tests for devices are being a nightmare. |
Beta Was this translation helpful? Give feedback.
-
|
@thomhurst I'm using |
Beta Was this translation helpful? Give feedback.
-
|
@thomhurst I removed Console.WriteLite. I use a text file instead. Same result, no tests executed, text file empty. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a test project that I wanted to run on Android. But I get the following error:
It seems that it tries to set the current directory to null. I have a MainActivity to launch the tests:
Maybe my approach to run the tests on Android is totally wrong.
Beta Was this translation helpful? Give feedback.
All reactions