Python Unit Testing

This time we were left with the task of learning more about Python Unit Testing PyTest, this time we used the IDE Pycharm which I found very useful and cool, I had used it when i was in first semester but back then I didn actually knew how to do something.

We also read the Simple Smalltalk Testing: With Patterns, we started using Hypothesis to make notations in the web documents so that we can keep track of our readings and also share ideas or ask questions, I think this is a great tool that has been given to us.

deepinscreenshot_20190324200618.png

So Ken gave us a great online course from LinkeID Learning about Python Unit Testing in which we can learn about pytest, from the basic configuration to the creation of unit test and unit suits, the conventions and best practices.

deepinscreenshot_20190324201517.png
This is an example code from the course, use to teach about the three steps for making tests.

I think the course is very complete and made me realise the importance of TDD, it is a way of writing code that I haven’t implemented I much but I’ll try to put it into practice, it covers from basics to mid, so it is easy to understand.

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión /  Cambiar )

Google photo

Estás comentando usando tu cuenta de Google. Cerrar sesión /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión /  Cambiar )

Conectando a %s