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

Performing Contract Testing with Microservices in Go

Performing Contract Testing with Microservices in Go

In today's world of microservices, ensuring seamless integration and communication between different services is crucial. One effective way to achieve this is through contract testing. Contract testing helps validate the interactions between services by verifying that they adhere to predefined contracts.

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
Mastering Performance Testing in Go with Vegeta
go, golang, testing Noah Parker go, golang, testing Noah Parker

Mastering Performance Testing in Go with Vegeta

In the realm of software development, particularly in an era where web services and APIs reign supreme, ensuring that your application can handle high traffic and deliver consistent performance is paramount. For developers working in Go, a language renowned for its efficiency and concurrency capabilities, Vegeta emerges as a powerful tool for performance testing.

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
Go Testing with Fake HTTP Requests and Responses
go, golang, testing, mocks Benjamin Parrish go, golang, testing, mocks Benjamin Parrish

Go Testing with Fake HTTP Requests and Responses

Go provides a robust testing framework right out of the box. When working with web applications or services, a common challenge developers face is testing code that involves HTTP requests and responses without actually hitting the real endpoints. In this post, we'll dive deep into creating and using fake HTTP requests and responses for testing in Go.

Read More
Table-Driven Testing in Go
go, golang, testing Noah Parker go, golang, testing Noah Parker

Table-Driven Testing in Go

In the realm of software development, particularly in Go, testing plays a pivotal role. One of the most effective and popular testing paradigms in the Go community is "Table-Driven Testing". Let's delve into what it is, its benefits, and how to effectively employ it.

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