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

Provide clickable interactions to run a test (file, func, package) #22

Open
piotrkubisa opened this issue Nov 13, 2019 · 4 comments
Open

Comments

@piotrkubisa
Copy link
Contributor

In the VSCode you can press run test or debug test that is displayed on the top of the test function. I believe it is possible to add run test in Phantom as in https://github.com/aziz/SublimeHyperClick

@piotrkubisa piotrkubisa changed the title Provide clickable interactions to start running a test Provide clickable interactions to run a test (file, func, package) Nov 13, 2019
@yields
Copy link
Owner

yields commented Apr 5, 2020

Yeah that'd be cool as a toggle/option, I'm on sublime's discord and there's a lot of nice API additions for nicer clicking, control etc..

Personally, I think this pkg shouldn't depend on other pkgs, it makes things 10x harder to test and it's already hard as it is ;).

@piotrkubisa
Copy link
Contributor Author

Indeed. I think it would be nice to have it as a separated package, because it will be too much clutter. It is easy to install an extra package that will do specialized to just running and testing while other related to editing.

@yields
Copy link
Owner

yields commented Apr 10, 2020

Good news is that sublime-text v4 will now allow minihtml links to invoke commands, so presumably it will look like:

<a href="subl:go_run_test">Run</a>

@piotrkubisa
Copy link
Contributor Author

Awesome! That sounds really easy to make now. Perfect time to look for some free time to implement this ;)

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

No branches or pull requests

2 participants