Curious About Technology

Welcome to Coding Explorations, your go-to blog for all things software engineering, DevOps, CI/CD, and technology! Whether you're an experienced developer, a curious beginner, or simply someone with a passion for the ever-evolving world of technology, this blog is your gateway to valuable insights, practical tips, and thought-provoking discussions.

Recent Posts

Leveraging LocalStack for S3 Client Integration Testing: A Comprehensive Guide
aws, go, golang, test Benjamin Hughes aws, go, golang, test Benjamin Hughes

Leveraging LocalStack for S3 Client Integration Testing: A Comprehensive Guide

In the realm of cloud computing, Amazon S3 (Simple Storage Service) has established itself as a cornerstone service for storing and retrieving any amount of data at any time. However, integrating and testing applications that rely on S3 can introduce complexity, especially when ensuring that your application behaves as expected under various scenarios. This is where LocalStack comes into play. LocalStack provides a fully functional local cloud stack, allowing developers to test cloud applications offline, including services like S3, without incurring extra costs or relying on cloud connectivity.

Read More
Mastering SQLMock for Effective Database Testing
go, golang, programming, testing Noah Parker go, golang, programming, testing Noah Parker

Mastering SQLMock for Effective Database Testing

Testing is a crucial aspect of software development, ensuring that applications perform as expected. For applications that interact with databases, mocking the database interactions is essential for isolated and efficient testing. SQLMock is a powerful tool in the Go ecosystem, designed to facilitate testing of database interactions without relying on a real database.

Read More
Fuzz Testing in Go: An Introduction with Examples
go, golang, fuzz, testing Noah Parker go, golang, fuzz, testing Noah Parker

Fuzz Testing in Go: An Introduction with Examples

Fuzz testing, often simply called "fuzzing", is an automated software testing method that provides random and unexpected input data to a program to find potential issues. These issues can include crashes, unintended behaviors, or vulnerabilities. In this post, we'll explore fuzz testing in the context of the Go programming language, diving into how it's done, and providing real-world examples.

Read More
Testing GORM with SQLMock
go, golang, programming, testing Noah Parker go, golang, programming, testing Noah Parker

Testing GORM with SQLMock

GORM is one of the most popular ORM (Object-Relational Mapper) libraries in Go, providing a simplified and consistent way to interact with databases. As with all application code, it's imperative to ensure that your database operations are thoroughly tested. However, hitting a real database during unit tests isn't ideal. This is where SQLMock comes in. SQLMock provides a way to mock out your SQL database so you can test your GORM code without needing a live database.

Read More