Conversation
|
@jedel1043 I think this PR is ready for review now. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4377 +/- ##
==========================================
+ Coverage 47.24% 50.35% +3.11%
==========================================
Files 476 508 +32
Lines 46892 50906 +4014
==========================================
+ Hits 22154 25635 +3481
- Misses 24738 25271 +533 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I'm not familiar with the codecov dashboard. How can I improve this score, by adding more unit tests? |
Codecov results show which lines of code are being run in the tests. It could be that some branches (if-else, match) are only being tested for one of the comparison results, instead of all, so they show in red. Ideally, we should have specific tests for most of the branches. Either as separate tests or as more complete single tests. |
|
We probably don't want the WASMI code in here. You should open a separate PR with it and remove it from here. I cannot find do a review soon. I like this PR a lot. Thanks. |
|
Sorry. I tried but still cannot get stated with codecov. There isn't even an entry of I also don't have access to codecov.io for my local code changes. Which local tool do you use, |
|
Sorry. You can follow the instructions at https://doc.rust-lang.org/beta/rustc/instrument-coverage.html I personally use IntelliJ which has excellent coverage support. I know Rust Analyzer for VSCode does too. Two notes;
|
|
I wouldn't worry too much about the coverage either. It is definitely nice to have unit tests, but we typically don't reject PRs based off the codecov report. |
Nix flake is helpful to Nix users for setting up develop environment. Nix is a popular package manager on Linux, macOS and Android. This PR is split from #4377 .
hansl
left a comment
There was a problem hiding this comment.
This could be improved a bit; indentation issue, a lot of allocations, more tests. But I'll approve now and we can work on fixing it in the code base.
|
I really like the change, btw. Sorry I couldn't review faster, I was away. |
This Pull Request closes #4371.
It changes the following:
show constructor name when display object
console.{log,error,...}now useJsValue::displayfor non string valuefunction and class display
[class $name],[Function: $name]A
flake.nixfile that makes it easier for Nix users to setup environment and contribute to the project