Skip to content

the-engineering-coach/008-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TDD in Golang: Building a Stack from Scratch

This repository contains all the code for The Engineering Coach YouTube video, "TDD in Golang: Building a Stack from Scratch."

In this video, we use Test-Driven Development (TDD) to build a Stack abstract data type in Golang. This project serves as a practical demonstration of the TDD workflow—Red, Green, Refactor—using Golang's core testing package.

Watch the Video Tutorial

This video is a great resource for anyone looking to learn the TDD mindset and apply it to a new language. You'll see how the same principles you've seen in our PHP videos apply to any language.

👉 Click here to watch the full video tutorial!

TDD for Beginners: Building a Queue in PHP with PHPUnit

Getting Started

To run the code and follow along with the video, you'll need Golang installed on your machine.

  1. Clone the repository:
git clone [https://github.com/testingallthethings/008-stack](https://github.com/testingallthethings/008-stack)
cd 008-stack
  1. Run the tests: You can run the tests directly from your terminal using the built-in Golang test command.
go test

The tests are designed to be run in a TDD cycle, as demonstrated in the video.

About The Engineering Coach

The Engineering Coach is a YouTube channel dedicated to helping software engineers and engineering managers improve their skills and craft. We provide practical advice and tutorials on topics that matter in the real world of software development.

Let's Connect

For more software engineering tutorials and coaching, subscribe to The Engineering Coach on YouTube. You can also connect with me on Bluesky or Mastodon.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages