My name is Elyézer Rezende and I am a Red Hatter, Quality Engineer, Pythonista, Open Source advocate, Podcaster and Dad. You can connect with me on the following social platforms:

Running UI tests on Travis

Travis allows you to run Chrome and Firefox on their build environment and those can be used to run UI tests using Selenium. Today we are going to see how to install chromedriver and geckodriver in order to be able to run UI tests using pytest-selenium. To run those tests you will need to have your web application running so that Travis can access it and this article won’t cover that....

June 7, 2018 · 4 min · Elyézer Rezende

Using a C shared library with Python's ctypes module

To demonstrate how to create a shared C library and using it with Python’s ctypes library we are going to create a shared C library. First create the C header file mean.h: // Returns the mean of passed parameters double mean(double, double); Next create the C file mean.c: #include "mean.h" double mean(double a, double b) { return (a+b)/2; } Now we can create the shared C library by compiling it using gcc:...

March 9, 2018 · 1 min · Elyézer Rezende