SforAiDl / decepticonlp

Python Library for Robustness Monitoring and Adversarial Debugging of NLP models
MIT License
15 stars 10 forks source link

Unit Test Cases #12

Closed rohts-patil closed 4 years ago

rohts-patil commented 4 years ago

Any project should have unit cases and should work as CI so that any other contributor should not break things that were previously working.

rajaswa commented 4 years ago

@rohts-patil We have some character transforms implemented, we can start with unit tests for that maybe. As far as CI is concerned, what do you propose, and are you willing to take it up?

rohts-patil commented 4 years ago

We can set a Github Action for python package. I have set it on my fork.

Check it out https://github.com/rohts-patil/decepticonlp/actions/runs/100153783

rohts-patil commented 4 years ago

Let me know if you guys are ok with this, I will raise a PR. @rajaswa

Sharad24 commented 4 years ago

Sounds good to me. Github Actions (The Free plan) is only upto 2000 minutes though.

But I dont think we're ever going to go past that. Although, If you're planning on doing other things with Github Actions (Pre-commit runs e.g. Black formatting, packaging, etc) it might be a good idea to do builds and docs with Travis CI (its free)

rohts-patil commented 4 years ago

Closing this issue as I have added the simple example test for delete. Others can use it as a template and or go through pytest tutorials.