4 ms·
This is usually absolutely horrendous to do, and of course exponentially increases your test workload for every possible combination of feature flags. If you're
by pjc50 2y ago
This is usually absolutely horrendous to do, and of course exponentially increases your test workload for every possible combination of feature flags. If you're doing it by #ifdef it has the added effect of making code unreadable.
Only really practical if "features" are "plugins".
- pfdietz 2y agoOr it's a really great idea, since you now can produce a diversity of software products, all of which should be correct on a subset of features, and all of which can be tested independently. Perhaps bugs can be flushed out that would be latent and undetectable in your standard build. Having lots of knobs you can tweak is great for randomized testing. The more the merrier.