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

How do I view/display test results? #172

@AdamDiament

Description

@AdamDiament

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions