Skip to content
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

Accumulate Test Count #1364

Merged
merged 1 commit into from
May 23, 2014
Merged

Accumulate Test Count #1364

merged 1 commit into from
May 23, 2014

Conversation

cheeseng
Copy link
Contributor

Changed to combine SuiteResult with same name, instead of replacing with latest one. This solves the test result count problem when a Suite is executed more than 1 time due to being returned as nested suites (sub-task).

This solves incorrect test count problem when a suite in ScalaTest is executed more than one time as nested suites, current code simply replace the old count with the new count, this changes will add them up instead.

The following is an issue reported in ScalaTest that drive this request:

scalatest/scalatest#167

…ith latest one. This solves the test result count problem when a Suite is executed more than 1 time due to being returned as nested suites (sub-task).
@eed3si9n
Copy link
Member

LGTM. @jsuereth?

@jsuereth
Copy link
Member

LGTM - Test failure looks to be the 'empty key string' failure that Dan fixed in another PR.

Thanks again @cheeseng for the fixes!

jsuereth added a commit that referenced this pull request May 23, 2014
@jsuereth jsuereth merged commit af70a89 into sbt:0.13 May 23, 2014
@cheeseng
Copy link
Contributor Author

Thanks Eugene and Josh for pulling this in!

On Fri, May 23, 2014 at 9:37 PM, Josh Suereth notifications@github.comwrote:

Merged #1364 #1364.


Reply to this email directly or view it on GitHubhttps://github.com//pull/1364#event-124236657
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants