Skip to content

anderssv/the-example

Repository files navigation

Hi. This is my repo for everything and nothing. It is used in several blog posts and for workshops.

The Examples

This is a small collection of code I hope shows some good concepts. Please let me know what you think. 😄

This repo is updated continuously, so be sure to star and watch it for updates.

A few notes on things I am trying to show in this code. You can find links to the specific examples on each page (if there are any):

I used Claude to generate a visual representation of this. It is fairly accurate, but might not make much sense before you actually read the information here. You can find it here: TDD Concepts Overview - Visual guide showing how all concepts relate

Reach out:

A lot of this content has come out of endless discussions with fellow developers. But special thanks goes out to Asgaut Mjølne, Ola Hast, and Terje Heen for the regular discussions we have.

The workshop

If you're looking for the workshop, you can find it here.

Using this code and building

Prerequisites

Install asdf-vm.com

ASDF will make sure you have the right tools and versions. If not:

  • Java 21
  • Git

Build and terminal

  1. Download this repository
    git clone https://github.com/anderssv/the-example.git
    cd the-example
  2. Install Java using ASDF:
    asdf plugin add java    # Only needed if you haven't installed the Java plugin before
    asdf install           # This will install Java 21 as specified in .tool-versions
  3. Build the project:
    ./gradlew build

Development environment

It works with most editors, but I recommend using IntelliJ IDEA. Most stuff is good with default plugins, but I also recommend:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages