coala-sublime icon indicating copy to clipboard operation
coala-sublime copied to clipboard

Use unittest instead of pytest

Open AbdealiLoKo opened this issue 9 years ago • 4 comments

Fix python -m unittest discover even if pytest is dropped

AbdealiLoKo avatar Aug 02 '15 14:08 AbdealiLoKo

what's better in unittest than pytest?

sils avatar Aug 02 '15 14:08 sils

pytest seems to be powerful and support coverage which seems rather useful

sils avatar Aug 02 '15 14:08 sils

pytest uses unittest - so, pytest is better

but, there is no method of testing "inside sublime" with pytest. https://github.com/randy3k/UnitTesting is the best way of doing it - and it basically is a sublime plugin which runs unittest discover inside sublime.

On Sun, Aug 2, 2015 at 7:57 PM, Lasse Schuirmann [email protected] wrote:

what's better in unittest than pytest?

— Reply to this email directly or view it on GitHub https://github.com/coala-analyzer/coala-sublime/issues/11#issuecomment-127030857 .

AbdealiLoKo avatar Aug 02 '15 14:08 AbdealiLoKo

ah ok.

2015-08-02 16:29 GMT+02:00 AbdealiJK [email protected]:

pytest uses unittest - so, pytest is better

but, there is no method of testing "inside sublime" with pytest. https://github.com/randy3k/UnitTesting is the best way of doing it - and it basically is a sublime plugin which runs unittest discover inside sublime.

On Sun, Aug 2, 2015 at 7:57 PM, Lasse Schuirmann <[email protected]

wrote:

what's better in unittest than pytest?

— Reply to this email directly or view it on GitHub < https://github.com/coala-analyzer/coala-sublime/issues/11#issuecomment-127030857

.

— Reply to this email directly or view it on GitHub https://github.com/coala-analyzer/coala-sublime/issues/11#issuecomment-127030944 .

sils avatar Aug 02 '15 14:08 sils