Skip to content

Documentation improvements #2

@connorshea

Description

@connorshea

I'd like to help improve the documentation of the test adapter example if possible.

Some things that I'd like to see, or that could use improvement:

  • An example of what the runTests() function might look like.
  • An example of updating the tests 'live' as the test suite outputs to stdout.
  • An example unit test for the extension.
  • An explanation of what exactly cancel() should do. Should it just kill the process, or should it also fire a "Test Suite Finished" event?

I'd also appreciate better documentation for the Adapter API and how it works, I know we can just read the code comments but I missed a decent number of features when creating my adapter due to the lack of documentation, e.g. the existence of tooltips or an error_message attribute when loading the tests. Is there a good library for generating a documentation website from the existing TypeScript files, and would you be interested in doing that?

Also, the README for the example should definitely link to the API and utils repositories.

Thanks for the Test Explorer! It's been a bit difficult to build my adapter at times, but I've also been learning TypeScript as part of it and I'm pretty happy with my progress. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions