Hi George, 

> And pytest has more than 200 plugins to make it easier to test things. As I 
> remember it has mongo plugin as we well
> 

Thank you for your comments. 

I have been using `py.test` for only two reasons.

1. To run my tests places in the `<project>/tests` directory. 
2. To run them whenever I save any file int he project using `py.test -f` 
(after installing pytest-xdist plugin). 

I will have a look at py.test again and look at examples. This is a great start 
for me. 

I usually work with writing APIs using Flask, which I test using `fixtures` and 
`mock`. I also write a lot of code which interacts with a lot of external 
modules like
`rabbitmq`, `databases` etc. I want to be better at write maybe integration 
tests and functional tests. 

If you have any more advice regarding those please let me know. Any recommended 
reading would help immensely. 

- Anubhav. 




_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to