TDD — Test-Driven Development for BitcoinAddressFinder

SkillCommerce & finance

Test-Driven Development workflow for BitcoinAddressFinder — delegates to the generic Java TDD skill and adds project-specific context

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the TDD — Test-Driven Development for BitcoinAddressFinder skill

What this skill tells your AI

The instructions your AI receives, as published by bernardladenthin/bitcoinaddressfinder in .claude/skills/tdd/SKILL.md and read by ahel’s review.

You are working on BitcoinAddressFinder (group net.ladenthin, Java 21, Maven).

Generic Java TDD Guide

Follow all conventions from the generic Java TDD skill (.claude/skills/java-tdd-guide/SKILL.md). That guide covers:

  • Red → Green → Refactor workflow
  • File headers (Apache 2.0 license)
  • Test framework stack (JUnit 4, DataProviderRunner, Hamcrest, Mockito)
  • Test naming, AAA structure, editor folds
  • Assertions (Hamcrest only), exception testing
  • Data providers, named constants, DRY
  • Logger injection (constructor over setter)
  • Null safety (JSpecify + NullAway)
  • Records, immutability, concurrency
  • Import style, anti-patterns, completeness checklist

Project-Specific Supplements

For BitcoinAddressFinder-specific conventions, also follow:

  • CODE_WRITING_GUIDE.md — BitHelper radix constants, C-prefix configuration POJOs, custom domain exceptions, graceful shutdown (Interruptable), lambda callbacks
  • TEST_WRITING_GUIDE.md — Marker annotations (@AwaitTimeTest, @ToStringTest, @OpenCLTest), timing/await tests, static address constants (StaticKey, P2PKH, P2SH, P2WPKH), platform assumptions, LMDB/OpenCL test patterns, producer test helpers, socket test utilities

Package

net.ladenthin.bitcoinaddressfinder

Build & Test

./mvnw compile       # compile (NullAway enforced)
./mvnw test          # run all tests
./mvnw test -Dnet.ladenthin.bitcoinaddressfinder.disableLMDBTest=true  # skip LMDB tests

Signals

GitHub stars
245
Forks
68
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
tdd-bernardladenthin
Source
github.com/bernardladenthin/bitcoinaddressfinder