> Well the issue is I'm trying to save a bit on the line count.

Why?

Alternatively it can be more lightweight, something like:

```d
@test("--exclude, should exclude a package from the build") unittest { }
```

Or just the flag:

```d
@test("--exclude") unittest { }
```

> The UDAs would require adding a unittest system to RDMD

Yes, that wouldn't hurt. But even without a unit test system it would be useful as it describes what's being tested.

> Also if you take a look at the existing codebase it's rather tightly packed (and hacky as well). 

Just because the rest of the code base is not in perfect shape doesn't mean we shouldn't try to make it better.

> Personally I would re-engineer RDMD and separate out its various components into modules, but it's not my codebase to make these kinds of decisions. So I made the tests as simple as possible.

I understand you, agree with you as well. But we need to start somewhere if we want to improve the code, see above.