SciencerIO / sciencer-toolkit

A smarter way to find articles.
MIT License
9 stars 1 forks source link

Add VSCode workspace and configuration to run examples and tests. #22

Closed RicardoEPRodrigues closed 2 years ago

RicardoEPRodrigues commented 2 years ago

This PR allows for easier integration with VSCode and already configures the running of the 3 available examples and integration with the Unit Testing capabilities of VSCode.

ratuspro commented 2 years ago

This PR solves two problems: (1) setting up an IDE to easily run tests and examples, and (2) creating packages for the tests. Although adding the VSCode files might ease the burden for new developers, it is not part of the source code and might affect developers that are already using their own settings and workspace configuration. As such, I would suggest removing the files that solve problem (1): launch.json, settings.json and .code-workspace The __init__.py that solve problem (2) can stay and there is no need to create a new PR just for that.

ratuspro commented 2 years ago

The packages definition was added to all the tests on d1fb44f8b60dc85ba5643a67d7b073c3fbde1485.