hbenl / vscode-example-test-adapter Goto Github PK
View Code? Open in Web Editor NEWAn example TestAdapter extension for the VS Code Test Explorer
License: MIT License
An example TestAdapter extension for the VS Code Test Explorer
License: MIT License
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:
runTests()
function might look like.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. :)
Instead of forking the repository, it could be used as a template :)
https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/
I cloned this test adaptor to play around with it. I followed the "Setup" instructions to install dependencies, compile the code and launch an extension development host with debugger attached to it. However, the test explorer doesn't load the fake tests hardcoded in fakeTests.ts
after opening a folder in the EDH without any error messages in debug console.
My VSCode:
Version: v.1.50.1 (system setup)
Commit: d2e414d9e42
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041
Hey man, first I wanna say that I really like your work. Really useful. I was thinking of making an implementation for angular using this adapter. Could you give me some pointers or where should I start looking for implementing loading the tests, running them etc? Do you have a common approach you used in your current implementations for loading this tests and making the implementation of the different adapters?.
I am definitely not an expert but I am pretty sure that someone is suffering for not having this as much as me.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.