I am looking for some guidance on how to efficiently automate the testing and submitting of Exercism challenges when working locally. Currently, I am running multiple lines of bash commands for each exercise, which is time-consuming and not very efficient.
I would like to know if there is a better way to do this, preferably using VS Code. Specifically, I am interested in:
Setting up an efficient workflow for testing and submitting challenges
Automating the process as much as possible
Integrating Exercism with VS Code to streamline the process
If anyone has experience with this, I would appreciate any tips, advice, or resources that you can share. Thank you in advance!
Testing should be a matter of just running pytest. VSCode should have some test integration/setting that allows you to run that via VSCode. You can also use a tool like entr to automatically run tests on file save.
There’s unofficial Exercism plugins for VSCode to aid with downloading and submitting exercises.
Your milage may vary with these (two of them are quite old), but their code is available on GitHub, so they might offer jumping off places for you, should you want to customize or build a pipeline of your own.