-
Notifications
You must be signed in to change notification settings - Fork 665
add re-run last test option #572
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
base: master
Are you sure you want to change the base?
add re-run last test option #572
Conversation
src/commands/test.ts
Outdated
@@ -42,6 +42,12 @@ export async function testSolution(uri?: vscode.Uri): Promise<void> { | |||
detail: "Test with the written cases in file", | |||
value: ":file", | |||
}, | |||
{ | |||
label: "$(refresh) Re- run last...", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UI: Use this icon please: $(debug-restart)
reference: https://microsoft.github.io/vscode-codicons/dist/codicon.html
Hey @nathanesau, Thank you for your contribution, and sorry for the late reply... I think it could be better if we use the icon |
@nathanesau, will you still have the interest to update the PR? |
@@ -42,6 +42,12 @@ export async function testSolution(uri?: vscode.Uri): Promise<void> { | |||
detail: "Test with the written cases in file", | |||
value: ":file", | |||
}, | |||
{ | |||
label: "$(debug-restart) Re-run last...", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One suggestion here: We should only show the re-run option when the lastTest
is not empty. Also, this option should put at the top of the list, to make it more convenient for the users.
Implement request from Issue #570