Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI tests #347

Open
1 of 2 tasks
WebFreak001 opened this issue Apr 25, 2022 · 3 comments
Open
1 of 2 tasks

Add CI tests #347

WebFreak001 opened this issue Apr 25, 2022 · 3 comments
Milestone

Comments

@WebFreak001
Copy link
Owner

WebFreak001 commented Apr 25, 2022

  • migrate travis unittests to github actions as it's no longer being used
  • add integration test / simulate a full basic debugging routine
@GitMensch
Copy link
Collaborator

The first part was done in #354 by @brownts. 👍.

@brownts
Copy link
Collaborator

brownts commented May 24, 2022

I've reworked the test harness so that it's no longer dependent on having VSCode run it. That should be a much nicer workflow, since you don't have to launch another instance of VSCode to run the tests. This just runs Mocha directly instead of through VSCode. There was really no reason to run it through VSCode as the extension doesn't dependent on it. In addition, I've also added functionality to collect code coverage and report it via CodeCov. Lastly, I've added badges in the README to show the CI status as well as the coverage percentage, along with links to the CodeCov detailed information.

The tests can be run from the "npm:test" in tasks.json if you like (or running npm test from the command line), but it is much nicer if you actually install and use the "Mocha Test Explorer" extension. That adds nice integration and provides a "Testing" tab in the VSCode Activity Bar. You can run/debug/etc. tests from there with ease.

@GitMensch
Copy link
Collaborator

GitMensch commented May 24, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants