TorPaste icon indicating copy to clipboard operation
TorPaste copied to clipboard

Create (Unit) Tests

Open daknob opened this issue 9 years ago • 4 comments

It is very important to have tests written for TorPaste. Currently this has been ignored and manual testing was used instead, but the process has already caused some issues.

Which testing frameworks do you use for Python? Have you used Flask's testing framework?

daknob avatar Oct 04 '16 17:10 daknob

http://flask.pocoo.org/docs/0.11/testing/ is probably a good starting point for research.

j11e avatar Oct 04 '16 17:10 j11e

hey there i would to work on this

abit2 avatar Oct 04 '16 20:10 abit2

I don't see a problem with that! Just please keep us updated regarding your choices (testing framework, what you test, etc.), so that we can make sure we don't forget anything. Discussing before coding is better than asking you to change things when you send your pull request ;)

j11e avatar Oct 04 '16 20:10 j11e

Exactly, this is always a good thing: to discuss how we're going to solve an issue before we write the code. Unfortunately I think GitHub can only add repository owners as assignees, so I'm not quite sure if I can add you as one. In any case, keep us posted on your decisions, and we can discuss them together.

daknob avatar Oct 05 '16 06:10 daknob