This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 247946 - Include number of run tests in a "popup bubble"
Summary: Include number of run tests in a "popup bubble"
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 11:01 UTC by Ondrej Brejla
Modified: 2014-12-23 17:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
381 tests vs 1 tests (299.93 KB, application/octet-stream)
2014-11-03 12:26 UTC, Ondrej Brejla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2014-10-15 11:01:46 UTC
It would be really great to have a number of run tests in a "bubble" which pops up after testing finishes.

e.g. "Tests (123) finished successfully for project: Breeze Client"

And why it would be useful? Because in JS, we can't run just a "single test". The only oportunity is to write "iit" or "ddescribe" in a test code, instead of "describe" or "it". Then it runs only those tests. But unfortunately it is easy to forget on it...and it happens quite often that one commits it and pushes it to repo...then just that marked tests run, which is really bad ;)

Thanks!
Comment 1 Theofanis Oikonomou 2014-10-30 21:10:40 UTC
Changeset: 5c952f459535
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-10-30 22:10
Message:
Comment 2 Theofanis Oikonomou 2014-10-30 21:12:08 UTC
Fixed. Now, no reason to push wrong number of tests to be run :P
Comment 3 Quality Engineering 2014-11-01 04:46:42 UTC
Integrated into 'main-silver', will be available in build *201411010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5c952f459535
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #247946 - Include number of run tests in a "popup bubble"
Comment 4 Ondrej Brejla 2014-11-03 12:26:14 UTC
Sorry, doesn't work properly in JS tests...it says that 1 test run, but in the result window 381 tests run :) Will attach ss. Thanks :)
Comment 5 Ondrej Brejla 2014-11-03 12:26:32 UTC
Created attachment 150232 [details]
381 tests vs 1 tests
Comment 6 Theofanis Oikonomou 2014-12-23 17:39:35 UTC
(In reply to Ondrej Brejla from comment #4)
> Sorry, doesn't work properly in JS tests...it says that 1 test run, but in
> the result window 381 tests run :) Will attach ss. Thanks :)

statistics for the entire test session were not computed correctly. Should be fixed by http://hg.netbeans.org/web-main/rev/debbe1b39b30. Thanks