Category: Open Source

GitHub Actions – Live Learning Notes

A large group of people have started using GitHub Actions. Mainly, as they are moving from Travis-CI for their GitHub repos. I already know how to use Travis-CI but never tried GitHub Actions before. I think it won’t take much time to learn its basics. So let’s dive into it.

Continue reading “GitHub Actions – Live Learning Notes”

Ansible – Live Learning Notes

Hey! It’s time for Ansible. I was introduced to Ansible around 2 years ago In-This-Post and now is the time when I actually have to use it first time to integrate it in my test project, to automate the process of entire manual setup I did on the server since past week. It appears to be fun, let’s see how it unfolds.

Continue reading “Ansible – Live Learning Notes”

Vagrant Quickstart – Live Learning Notes

Hey! I have been learning Ansible to automate server setup. But I was a bit afraid to run my playbook directly on the server. So I thought better is to run it on a virtual machine via vagrant. And if everything works fine here, then I can run it against my server. But the problem is, I never worked with vagrant before. Here, in this article I would start and document my learning path for vagrant. Let’s do it.

Continue reading “Vagrant Quickstart – Live Learning Notes”

Testing with unittest.mock

Hello! Just 10 days back, there was a time when I tweet this.

While I always found it difficult, some people say writing mock test is super easy. I think it’s time for me to code more modular.

After a week of making the tweet, I set myself to read the official documentation with patience. The more I read, the more I started liking the tool. In the end, I understand people were right in saying that “mock tests are easy”. Below is a quick overview of what I could understand of writing mock test cases.

Continue reading “Testing with unittest.mock”