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

Test coverage report #38

Closed
aleksandrenko opened this Issue Mar 7, 2015 · 31 comments

Comments

Projects
None yet
@aleksandrenko

Add a test coverage progress indicator to push developers to write more unit tests (Gamification)

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Mar 8, 2015

Member

Good idea, thanks. We are planning to add something like this along with coverage reports at some stage.

Member

ArtemGovorov commented Mar 8, 2015

Good idea, thanks. We are planning to add something like this along with coverage reports at some stage.

@Tineler

This comment has been minimized.

Show comment
Hide comment
@Tineler

Tineler Mar 9, 2015

As I wrote on Twitter: I would love to see that! I think you could display the coverage for a single file somewhere in the upper right corner of the editor (if this is somehow possible). And the overall coverage in the run-console.

Tineler commented Mar 9, 2015

As I wrote on Twitter: I would love to see that! I think you could display the coverage for a single file somewhere in the upper right corner of the editor (if this is somehow possible). And the overall coverage in the run-console.

@browniefed

This comment has been minimized.

Show comment
Hide comment

👍

@endragor

This comment has been minimized.

Show comment
Hide comment
@endragor

endragor Jun 5, 2015

+1 to a view showing aggregated coverage info for the whole project (not sure if this is what the original poster meant)

endragor commented Jun 5, 2015

+1 to a view showing aggregated coverage info for the whole project (not sure if this is what the original poster meant)

@ArtemGovorov ArtemGovorov changed the title from Test coverage progress to Test coverage report Jun 9, 2015

@DinisCruz

This comment has been minimized.

Show comment
Hide comment
@DinisCruz

DinisCruz Jul 26, 2015

+1 this is really important

While we wait for official support, where is this data stored?

+1 this is really important

While we wait for official support, where is this data stored?

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jul 26, 2015

Member

@DinisCruz It is stored in memory, wallaby doesn't save any files if that's what you're asking about

Member

ArtemGovorov commented Jul 26, 2015

@DinisCruz It is stored in memory, wallaby doesn't save any files if that's what you're asking about

@DinisCruz

This comment has been minimized.

Show comment
Hide comment
@DinisCruz

DinisCruz Aug 5, 2015

is there a way to access that data?

is there a way to access that data?

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Aug 6, 2015

Member

@DinisCruz Not at the moment.

Member

ArtemGovorov commented Aug 6, 2015

@DinisCruz Not at the moment.

@hellboy81

This comment has been minimized.

Show comment
Hide comment
@hellboy81

This comment has been minimized.

Show comment
Hide comment
@hellboy81

hellboy81 Sep 21, 2015

This metrics can be also reasonable:

  • Estimate time to write unit tests for existing code (with code coverage at least N %)

This metrics can be also reasonable:

  • Estimate time to write unit tests for existing code (with code coverage at least N %)
@fvanwijk

This comment has been minimized.

Show comment
Hide comment
@fvanwijk

fvanwijk Sep 21, 2015

@hellboy81 Hmm I think that calculating the estimates is no issue that Wallaby should solve. It's more like a Sonar thing (time to solve tech debt and tech debt percentage).

@hellboy81 Hmm I think that calculating the estimates is no issue that Wallaby should solve. It's more like a Sonar thing (time to solve tech debt and tech debt percentage).

@hellboy81

This comment has been minimized.

Show comment
Hide comment
@hellboy81

hellboy81 Sep 22, 2015

@fvanwijk Can you provide more information about it?

@fvanwijk Can you provide more information about it?

@fvanwijk

This comment has been minimized.

Show comment
Hide comment
@fvanwijk

fvanwijk Sep 23, 2015

See http://www.sonarqube.org/evaluate-your-technical-debt-with-sonar/
Wallaby is just a test runner.
I suggest that you use tools like Sonar to do more in dept code quality/coverage analysis and let Wallaby only show the simple metrics that are already available, since it is measuring coverage through the instrumented code.

See http://www.sonarqube.org/evaluate-your-technical-debt-with-sonar/
Wallaby is just a test runner.
I suggest that you use tools like Sonar to do more in dept code quality/coverage analysis and let Wallaby only show the simple metrics that are already available, since it is measuring coverage through the instrumented code.

@hellboy81

This comment has been minimized.

Show comment
Hide comment
@hellboy81

hellboy81 Nov 20, 2015

@fvanwijk KISS, use Excel, Luke!

@fvanwijk KISS, use Excel, Luke!

@QuantumInformation

This comment has been minimized.

Show comment
Hide comment
@QuantumInformation

QuantumInformation Jan 15, 2016

Is there coverage build into the Idea version for wallaybyjs?

Is there coverage build into the Idea version for wallaybyjs?

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jan 15, 2016

Member

@QuantumInformation Only real-time coverage indicators (like in all other versions), no reports yet.

Member

ArtemGovorov commented Jan 15, 2016

@QuantumInformation Only real-time coverage indicators (like in all other versions), no reports yet.

@QuantumInformation

This comment has been minimized.

Show comment
Hide comment
@QuantumInformation

QuantumInformation Jan 15, 2016

Ok cool, well I'm very happy with it, I'm going to recommend it to my clients!

Ok cool, well I'm very happy with it, I'm going to recommend it to my clients!

@tomitrescak

This comment has been minimized.

Show comment
Hide comment
@tomitrescak

tomitrescak Apr 8, 2016

Any progress on this? Would be great to see the overall statistics of the test coverage.

Any progress on this? Would be great to see the overall statistics of the test coverage.

@DinisCruz

This comment has been minimized.

Show comment
Hide comment
@DinisCruz

DinisCruz May 22, 2016

Any updates, this is quite an important metric

Any updates, this is quite an important metric

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov May 23, 2016

Member

@tomitrescak @DinisCruz I'll post the news in this issue when there are some.

Member

ArtemGovorov commented May 23, 2016

@tomitrescak @DinisCruz I'll post the news in this issue when there are some.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jul 19, 2016

Member

We are working on the file-centric Coverage View in Wallaby App, in a meantime the already implemented Tests View can also be used to to inspect the coverage.

Member

ArtemGovorov commented Jul 19, 2016

We are working on the file-centric Coverage View in Wallaby App, in a meantime the already implemented Tests View can also be used to to inspect the coverage.

@DinisCruz

This comment has been minimized.

Show comment
Hide comment
@DinisCruz

DinisCruz Jul 20, 2016

@ArtemGovorov that App view is great

Question: how are you authenticating that the only that app is talking to wallaby engine (i.e. can the same functionality be invoked from other sites? (namely direct interaction with Webstorm)

@ArtemGovorov that App view is great

Question: how are you authenticating that the only that app is talking to wallaby engine (i.e. can the same functionality be invoked from other sites? (namely direct interaction with Webstorm)

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Jul 21, 2016

Member

@DinisCruz Thanks! We're also working on the file-centric view for the code coverage, which should better address this particular issue.
In the engine we are checking the origin header that contains the hostname of the server that served the HTML with the JS that opened the WebSocket connection, so other websites can not connect to the engine.

Member

ArtemGovorov commented Jul 21, 2016

@DinisCruz Thanks! We're also working on the file-centric view for the code coverage, which should better address this particular issue.
In the engine we are checking the origin header that contains the hostname of the server that served the HTML with the JS that opened the WebSocket connection, so other websites can not connect to the engine.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@dsifford

This comment has been minimized.

Show comment
Hide comment
@dsifford

dsifford Aug 17, 2016

Amazing @ArtemGovorov !

Question for ya: Is there any way currently, or any plans for the near future, to open up the app view inside atom editor? I'd imagine adding that feature would be relatively straightforward, being that it's essentially just a feature-packed electron application.

Thanks again for your work on this!

dsifford commented Aug 17, 2016

Amazing @ArtemGovorov !

Question for ya: Is there any way currently, or any plans for the near future, to open up the app view inside atom editor? I'd imagine adding that feature would be relatively straightforward, being that it's essentially just a feature-packed electron application.

Thanks again for your work on this!

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Aug 18, 2016

Member

@dsifford There're no near future plans, but you may try using atom-web-view to open http://wallabyjs.com/app. It seems to work, but I haven't tested it much and I'd at least expect a few usability issues, like it may not look great in a different colour theme and there may be some keyboard shortcuts conflicts.

ui

Member

ArtemGovorov commented Aug 18, 2016

@dsifford There're no near future plans, but you may try using atom-web-view to open http://wallabyjs.com/app. It seems to work, but I haven't tested it much and I'd at least expect a few usability issues, like it may not look great in a different colour theme and there may be some keyboard shortcuts conflicts.

ui

@dsifford

This comment has been minimized.

Show comment
Hide comment
@dsifford

dsifford Aug 18, 2016

@ArtemGovorov I'm aware of the web-view package. I mainly was asking this because the thought of putting together a simple package for this crossed my mind and I wanted to be sure that A) you weren't already planning one (which would likely be better) and B) it was alright if I did so, being that wallaby is a trademarked, non-open-source product.

@ArtemGovorov I'm aware of the web-view package. I mainly was asking this because the thought of putting together a simple package for this crossed my mind and I wanted to be sure that A) you weren't already planning one (which would likely be better) and B) it was alright if I did so, being that wallaby is a trademarked, non-open-source product.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Aug 18, 2016

Member

@dsifford If the the web-view package is not enough for now, we don't mind if you create the package that does a better job of embedding the app.

Member

ArtemGovorov commented Aug 18, 2016

@dsifford If the the web-view package is not enough for now, we don't mind if you create the package that does a better job of embedding the app.

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Aug 18, 2016

Member

Released in Wallaby.js App v1.0.4.

Member

ArtemGovorov commented Aug 18, 2016

Released in Wallaby.js App v1.0.4.

@DinisCruz

This comment has been minimized.

Show comment
Hide comment
@DinisCruz

DinisCruz Sep 4, 2016

Hi @ArtemGovorov what was released on App v1.0.4?

Hi @ArtemGovorov what was released on App v1.0.4?

@ArtemGovorov

This comment has been minimized.

Show comment
Hide comment
@ArtemGovorov

ArtemGovorov Sep 5, 2016

Member

Hi @DinisCruz, the Files tab with coverage reports, the blog post/tutorial about it is coming soon (hopefully this week).

Member

ArtemGovorov commented Sep 5, 2016

Hi @DinisCruz, the Files tab with coverage reports, the blog post/tutorial about it is coming soon (hopefully this week).

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