-
Wireguard on OpenWRT
After playing with Wiregaurd on AWS instances, I tried to step up the game by using my OpenWRT router as a client. Again, Wireguard is not built on server-client architecture but still. Gladly, I didn’t need to compile the OpenWRT image myself just to use Wireguard. I was able to...
-
Playing With Wireguard
I decided to experiment with Wireguard today. Since I am always concerned that installing random things on my machine could break my regular development environment, I settled on using my AWS Credits to play with Wireguard. I spun up two t2.micro instances of Ubuntu 20.04 LTS. Though Wireguard is based...
-
Writing tests for Database Queries
While working on a pull request to add automated tests for a Django admin class for Kiwi TCMS, I had to write automated tests to check whether select_related queries were being executed properly. From my experience of writing tests for OpenWISP, I used assertNumQueries of Django’s TransactionTestCase class which records...
-
Devlogs: What?
It’s been quite a while since I wrote the last dev log. I was occupied with academics and was not doing enough work with tech that I could write in the dev log. Sadly, I have not been done with academics yet. The university has postponed my exams yet another...
-
Tests in OpenWISP
I was reading about Software Testing while preparing for my university exams. When I wrote tests for OpenWISP Notifications, I barely knew any concepts of software testing. I didn’t read anything about how to write tests. I had the sole goal of attaining 100% coverage and try all possible scenarios....