Sometimes when reviewing code I want to look at the tests first (e.g. LLVM lit tests) and sometimes I want to look at the logic first (when unit tests are verbose).
Most interfaces just sort files alphabetically though. There must be a better way we could build?
LLVM's lit tool for testing files is the most successful testing DSL I've ever seen. It's used a decent number of projects outside of LLVM.
By contrast I don't see many folks using e.g. Cucumber these days.
Wonderful post from the lead LLVM maintainer reflecting on how the project is run, the design issues in LLVM today, and opportunities to make it better: