On Mon, Nov 27, 2017 at 5:57 PM, Onorio Catenacci <[email protected]> wrote:
Please don't misunderstand; I'm not saying "don't add the feature". I'm > just saying that this sort of thing can enable a bad practice which > diminishes the value of unit testing. > > Those of you who pointed out that running any single test as opposed to > running the whole test suite is already a problem--you're completely > correct. I'm not arguing against the feature at all; I'm simply trying to > add an important consideration to the discussion for the sake of others who > may read this discussion in the future. I'm trying to make sure that if > others see this conversation in the future, they will be aware that using > any subset of the tests (including "only failed") is a little bit dangerous > and should always be followed as closely as possible by running the entire > suite. > That's a fair point. Depending on the size of the project, I'd say today this best practice has moved to running locally what is obviously affected, and delegating to CI the detection of unexpected breakages. In my case it's been years since I do not run the entire suite of a non-trivial project locally. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM%3DYcdgfhorjw1Hf%3DXewu0wxUZTBNACJzeu3rCsc8jafgbBUtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
