Codium-ai / codiumai-vscode-release

269 stars 39 forks source link

initial install and run - when clicking on run tests, tests fail to run. #77

Closed dlibis closed 1 year ago

dlibis commented 1 year ago

Hi, steps to reproduce: 1) i did initial run with the extension 2) tests were generated 3) clicked on the "Run" button, approved execution on my machine.

this is the output: image

obviously to solve this i would probably need to install "pytest". but as for better user experience i think it should be built in.

┆Issue is synchronized with this Trello card by Unito

almog-lv commented 1 year ago

Thanks for your feedback, @dlibis, currently CodiumAI cannot install testing frameworks packages on your behalf, and the tests won't run on your machine without them, so a prerequisite for running tests would be to install the desired testing framework before you run CodiumAI.

dlibis commented 1 year ago

@almog-lv for user experience, I think that should be mentioned as a perquisite for this extension, at least at the installation page.
or you can simply add here image

almog-lv commented 1 year ago

Good point, thank you!