On Saturday, December 28, 2019 at 10:44:39 AM UTC-5, btheado wrote: I've been experimenting lately writing pytest tests for leo. I just > published my work at > https://github.com/btheado/leo-editor/tree/pytest-experiment. >
> You should be able try it out with these commands (untested): > > git origin add btheado https://github.com/btheado/leo-editor.git > git checkout btheado pytest-experiment > pip install pytest > pytest leo/test/pytest > > The first line didn't work. I did `git clone https://github.com/btheado/leo-editor.git brian`, but I don't see the pytest folder in the leo/test folder, which is strange. With my present setup, `pytest leo\core\leoAst.py` executes all the present unit tests in leoAst.py: leo\core\leoAst.py ....................................................................... ========================== 71 passed in 5.42 seconds ========================== So I don't understand what difference pytest makes. What am I missing? Btw, giving a directory does *not* work (pytest 3.6.7). For example, pytest leo\core finds no tests. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/5841e140-d7cb-41c2-b41d-399f38b98713%40googlegroups.com.
