How can one reliably run unittests
jfondren
julian.fondren at gmail.com
Mon Sep 6 23:57:05 UTC 2021
On Monday, 6 September 2021 at 22:53:50 UTC, deadalnix wrote:
> On Monday, 6 September 2021 at 17:12:50 UTC, jfondren wrote:
>> -main wasn't and still isn't a problem for the use case the PR
>> was authored for, of "I want to run all my unit tests,
>> *only*", and the approach of the PR approach was completely
>> successful at making druntime much more friendly to that use
>> case. It had zero impact on your use case, but you didn't sell
>> it very well by only mentioning what for other uses was a very
>> trivial inconvenience.
>
> [something deadalnix typed a while ago and has been waiting to
> post]
The blindness you have to precisely how people intend to use
features, "use case blindness", has resulted in a lot of trouble
for you:
1. you earn pointless animosity by describing existing features,
which other people use all the time in comfort, as entirely
broken and obviously badly designed.
2. you keep derailing your own thread about your own use case,
because you don't think it's important to keep the focus on
*your* use case.
3. even when you talk about problems that directly relate to
pretty severe inconveniences for your use case, you're unable to
interest other people in them, because you don't think to connect
the problems to a use case where they *are* severe inconveniences.
You keep appealing to experiences that are actually personal to
you and not generally felt. I've mostly enjoyed this thread and
appreciate that you made it; I dug a lot into unit tests in D as
a result of following it. The author of the PR that you think has
helped 'lead to this mess' has said he's happy fine with the
state of D unit testing. Just like other people are not all
constantly slapping their foreheads over how irritating -main is
to use, and just like the other participants of that PR didn't
think "it doesn't fix -main" was a showstopper for that PR, other
people also do not all think that "General has a 80 post thread
about unit tests" is an argument in itself than unit tests have a
problem.
I think a still likely outcome is that a general interest in
unittests will result in a lot of improvements, but only to other
people's use cases. If that's the case in a few months, give
Discord a try.
More information about the Digitalmars-d
mailing list