FWDekker / intellij-randomness

IntelliJ plugin for inserting random numbers, UUIDs, names, IP addresses, and much more
https://plugins.jetbrains.com/plugin/9836-randomness
MIT License
45 stars 7 forks source link

Use statically-defined test class tags #479

Closed FWDekker closed 1 year ago

FWDekker commented 1 year ago

Instead of using NamedTag(...) separately in each test class, collect all possible tags centrally in, say, TestTags, and refer to those.

This will make it easier to know which tags are available, and to check their usages to see if anything is missing or incorrect.

FWDekker commented 1 year ago

And while I'm at it, replace shouldBe null with should beNull(), for consistency.

FWDekker commented 1 year ago

Oh, and change shouldBe Bundle(...) to should matchBundle(...)!