Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

chore(karma): use dots reporter by default #16167

Merged
merged 1 commit into from
Aug 11, 2017

Conversation

Narretz
Copy link
Contributor

@Narretz Narretz commented Aug 11, 2017

dots is nicer for local testing, as you usually don't run a
ton of test suites, and it's also more readable if you skip
many tests (i.e. run isolated tests)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change?

Please check if the PR fulfills these requirements

Other information:

dots is nicer for local testing, as you usually don't run a
ton of test suites, and it's also more readable if you skip
many tests (i.e. run isolated tests)
@@ -10,7 +10,7 @@ module.exports = function(config, specificOptions) {
browserDisconnectTimeout: 10000,
browserDisconnectTolerance: 2,
browserNoActivityTimeout: 30000,
reporters: ['spec'],
reporters: ['dots'],
Copy link
Member

Choose a reason for hiding this comment

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

Does spec look better on CI?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, because it doesn't generate a dot for each test, so the test results are easier to scroll through - I changed that a while ago, but accidentially added it locally too. Locally, dots is better because you often follow the progress while it's testing

Copy link
Member

Choose a reason for hiding this comment

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

So, were do we configure Travis to use the spec reporter? 😕

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cl argument here:

grunt test:unit --browsers="$BROWSERS" --reporters=spec

@Narretz Narretz merged commit a83d646 into angular:master Aug 11, 2017
@Narretz Narretz deleted the chore-karma-dots branch August 11, 2017 20:56
Narretz added a commit to Narretz/angular.js that referenced this pull request Aug 18, 2017
dots is nicer for local testing, as you usually don't run a
ton of test suites, and the progress visualization is more important .
It's also more readable if you skip many tests (i.e. run isolated tests)

Closes angular#16167
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants