Re: [Tutor] Need advice on testing python code.

2017-08-28 Thread Anubhav Yadav
> Here is the compatibility list of plugins: > http://plugincompat.herokuapp.com/ > > here is the rabbitmq plugin: > https://pypi.python.org/pypi/pytest-rabbitmq > > > and here is one for databases: > https://p

Re: [Tutor] Need advice on testing python code.

2017-08-28 Thread George Fischhof
2017-08-28 9:43 GMT+02:00 Anubhav Yadav : > 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 place

Re: [Tutor] Need advice on testing python code.

2017-08-28 Thread George Fischhof
2017. aug. 28. de. 2:15 ezt írta ("Anubhav Yadav" ): Hello. I am a python developer and I write a lot of python code everyday. I try to do as much unit testing as possible. But I want to be better at it, I want to write more test cases, specially that rely on database insertions and reads and fil

Re: [Tutor] Need advice on testing python code.

2017-08-28 Thread George Fischhof
2017. aug. 28. 2:15 ezt írta ("Anubhav Yadav" ): Hello. I am a python developer and I write a lot of python code everyday. I try to do as much unit testing as possible. But I want to be better at it, I want to write more test cases, specially that rely on database insertions and reads and file io

Re: [Tutor] Need advice on testing python code.

2017-08-28 Thread Anubhav Yadav
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 `/tests` directory. 2. To run them whenever I

[Tutor] Need advice on testing python code.

2017-08-27 Thread Anubhav Yadav
Hello. I am a python developer and I write a lot of python code everyday. I try to do as much unit testing as possible. But I want to be better at it, I want to write more test cases, specially that rely on database insertions and reads and file io. Here are my use-cases for testing. How to te