Skip to content

Conversation

sindresorhus
Copy link
Member

too much green when the result count is also in green

and with todo and skip tests it doesn't matter as they're shown too fast anyways

too much green when the result count is also in green

and with `todo` and `skip` tests it doesn't matter as they're shown too fast anyways
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @BarryThePenguin, @sotojuan and @naptowncode to be potential reviewers


if (test.todo) {
title = colors.todo('- ' + test.title);
this.todoCount++;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we manually count these in the reporter? Shouldn't it be provided by the API?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've wondered that too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, that should be changed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I recall, the API does track this, but it's not provided until the finish event. The mini reporter is the only reporter that cares about the live count.

@jamestalmage
Copy link
Contributor

Just a thought, but what if we showed bothe the current test, and the last failed test. Or maybe just the counts and the last failed test (Since we intend to print pending tests on SIGINT - the last passed test isn't that valuable anymore). What failed is usually the most important info anyways.

@sindresorhus
Copy link
Member Author

Let's continue this in #628.

sindresorhus added a commit that referenced this pull request Mar 10, 2016
remove color from test title in mini reporter
@sindresorhus sindresorhus merged commit f1966d9 into master Mar 10, 2016
@sindresorhus sindresorhus deleted the mini-reporter-color branch March 10, 2016 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants