To have a 100% test coverage on ipycytoscape
See original GitHub issueFrom @ianhi comment’s:
Still needed:
- json graph creation
- df graph creation
- tests for
CytoscapeWidget
methods - Tests of adding interaction callbacks
- will require using the mocked comms to fake a message.
- typescript tests (need to expand on this and be more specific, please feel free to contribute to this issue with test ideas!)
- maybe use karma-typescript (I think it came with the js cookie cutter)
If you’re adding one of these tests please reference this issue.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:12 (5 by maintainers)
Top Results From Across the Web
100% test coverage: Why or why not? - Roelof Jan Elsinga
100 % test coverage simply means you've written a sufficient amount of tests to cover every line of code in your application. That's...
Read more >The real benefit of 100% code coverage | by Adrien Guéret
It is better to have 50% of the project tested correctly, than 100% poorly tested. This is correct. It's useless, even counter-productive, to ......
Read more >Unit testing code coverage - do you have 100% coverage?
No for several reasons : It is really expensive to reach the 100% coverage, compared to the 90% or 95% for a benefit...
Read more >The myth of 100% code coverage - Functionize
For many people, 100% coverage is the mythical ideal that they all strive to achieve. After all, if 100% of your code is...
Read more >How 100% Code Coverage Is Destroying Applications
Increasing code coverage to 100% is also detrimental to development cycles. To avoid falling into this trap, all developers should have unit testing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Dataframe graph creation - Create a graph from a pandas dataframe
This was just to note that these mocks already exist from the cookiecutter.
These have been updated a bit since ipycytoscape was created in order to get them pass. Should be based on the content here: https://github.com/jupyter-widgets/widget-ts-cookiecutter/tree/master/{{cookiecutter.github_project_name}}/tests