Skip to content
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

Create unit tests to verify code coverage #25

Open
mpourmpoulis opened this issue May 6, 2020 · 0 comments
Open

Create unit tests to verify code coverage #25

mpourmpoulis opened this issue May 6, 2020 · 0 comments

Comments

@mpourmpoulis
Copy link
Owner

mpourmpoulis commented May 6, 2020

the previous days I have finally gotten around to setting up Travis CI for the project starting with pylint and the next step is to include unit tests in the integration. Unfortunately, because the Python interpreter is embedded in sublime and I outsource a couple of things to the sublime, setting up of those unit tests requires solving various technicalities so it will happen gradually.

As a start, I should probably start with unit tests for the library folder, is it these essentially sublime free, and in particular tests regarding the ability (of the repair module) to recover from errors and parse code. For the purpose, I think I should try to collect samples of code for three different tasks

  • Code that contains errors, that it is essential to be able to recover from, and failure to do so would imply there is a bug in the code and the travis build should fail

  • Code with errors, it would be nice to support but not really hard line for the moment. Failure should be reported but should not cause the Travis build to fail

  • Correct Code, that the repair module should not break

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant