Balrog994 / cucumber-test-runner

An Extension for Visual Studio Code to Run and Debug CucumberJS Tests
MIT License
5 stars 8 forks source link

Error Messages when cucumber-js crashes and setting CWD in Settings #15

Open apazureck opened 11 months ago

apazureck commented 11 months ago

Hi,

Thanks for this neat plugin for cucumber-js. I have a little issue getting cc to work, though. It crashes. So I digged in a little deeper and did some more logging. I thought it would be helpful for others:

  1. I added stderr output for the test runner and the output logs:

grafik

  1. I added an option to set the cwd for cucumber-js (It runs in a subfolder with a different tsconfig in my case and I wanted to keep ts-node out of my main config as much as possible, as overriding the settings in my main tsconfig might conflict with other plugins.

  2. I did some refactoring in the run method to make it smaller.

aristotelos commented 2 days ago

@Balrog994 This change would help me because it displays error messages in the output log from stderr. Are you still actively working on this extension? If not, I might pick it up and publish a fork that includes those fixes.

aristotelos commented 2 days ago

@apazureck You might want to fix your commit messages (e.g. using git rebase -i):

See also https://www.conventionalcommits.org