Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

How do I view/display test results? #172

Open
AdamDiament opened this issue May 3, 2023 · 0 comments
Open

How do I view/display test results? #172

AdamDiament opened this issue May 3, 2023 · 0 comments

Comments

@AdamDiament
Copy link

AdamDiament commented May 3, 2023

I have an android test runner app set up and the tests are being hit when running on device. However, I do not see results anywhere.

I've tried stuff like this in the oncreate

           var sw = new StringWriter();
            Debug.Listeners.Add(new TextWriterTraceListener(sw));
            ResultChannel = new TextWriterResultChannel(sw);
            await ResultChannel.OpenChannel("Opening the channel");

and

Console.SetOut(sw);
Writer = sw

But nothing is written to output anywhere

This video https://www.youtube.com/watch?v=Mw5lODrvELk&ab_channel=XamarinDevelopers has an Android test app with some nice ui and the ability to run the tests and output results to the screen. Is the code for this available somewhere?

Thanks very much

@AdamDiament AdamDiament changed the title How do I get test results? How do I view/display test results? May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant