Tagged: Testing

2

Quickemu – Quick VM using QEMU

I have used VirtualBox for creating Virtual Machines, especially when trying something new or needing isolation. Over time, parts of the needs were satisfied by Docker (Podman). But there are still instances where I would like a proper virtual machine. These days, I have moved to QEMU, that too, Quickemu.

0

Linked List: Fake or Mock SMTP Servers for Email Testing

To test SMTP integration, you can either send emails using the production SMTP or you can run a test SMTP server just for testing. But its not easy for every developer in your team to do that or make it part of your CI/CD. This is where Fake or Mock SMTP servers play a role. They can run on a developers machine and expose an SMTP endpoint to connect and send test emails. They usually have web access to view the test emails to check formatting etc, manually. Some of them also expose a web API to retrieve the content for CI/CD integration. Here are some of my favorite mock SMTP servers.

0

Karate Mocks on Google CloudRun

I have written mock features in Karate for integration testing. Recently I wanted to run them centrally somewhere so all my testing infra can use the same set of Mocks. I wanted an easy way to launch it and maintenance-free. So I tried it with CloudRun, which can run any stateless web service. One needs to provide a container to it. That’s all.

4

Testing Async systems with Karate Testing Framework

I have love and hate relationship with asynchronous systems. I love them because the flow is natural and doesn’t waste time and resources. I hate them because it’s difficult to test and debug. The most common asynchronous system that you would have used is Webhook type. Where you get a callback from an...