-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indent test contexts #2814
indent test contexts #2814
Conversation
While considering any changes to title reporting we will need to keep in mind compatibility with tools such as |
Looking at js-reporters it has the following for a given test:
We could deprecate |
@charlierudolph Thanks. Yes, let's leave I'd encourage you to use this in a custom reporter for now, as I'm not sure when the next major will land. |
@boneskull sounds good. I just resolved conflicts but am otherwise curious as to what caused the addition of the |
@charlierudolph it looked to me like there were changes that @ScottFreeCode wanted, but maybe I was incorrect on that. I'll let him comment and/or remove the tag |
I'm actually not sure I know the stuff I brought up well enough to make any definitive statements about impact to this PR; I just wanted to make sure present compatibility (and in some cases desired future compatibility) with those various things is taken into consideration. |
@ScottFreeCode so is there someone else we should have look at this? Is there any path forward for this PR or are we blocked until the present compatibility is determined so we know what actions need to be taken with regard to this PR? |
I believe the @mochajs/core team is still discussing where to merge semver-major changes into. I'm expecting a new If there are no other concerns from the team then that should be all we need. (Besides which, we could always revisit the details in between merging this in as-is and releasing the next semver-major.) |
So does this PR still need the label |
Sorry, I missed "and/or remove the tag" in boneskull's comment when I read it before; I've gone ahead and removed it. |
Add an optional extended description…
Joining the all the test contexts by spaces makes it hard to parse. I've never attempted to read that string as its typically impossible to tell where one title ends and another begins.
becomes
If this will be accepted, I'm happy to work to remove
fullTitle()
from its other uses but for now just concentrated on this one that effects me.