(no title)
xiaq | 1 year ago
If you're interested in Elvish, you may also be interested in the talk on its design - https://www.youtube.com/watch?v=wrl9foNXdgM
xiaq | 1 year ago
If you're interested in Elvish, you may also be interested in the talk on its design - https://www.youtube.com/watch?v=wrl9foNXdgM
HeralFacker|1 year ago
What's in the 8% not covered by testing?
xiaq|1 year ago
The remaining 8% mostly falls into the following categories:
- Code that use OS functionalities that are cumbersome to mock in tests
- Code paths that are triggered relatively rarely and I was simply too lazy to add tests for them
Nothing is impossible to cover, but for whatever reason it was too much work for me when I wrote the code.
However, it's worth mentioning that I only settled on the transcript test pattern fairly recently, and if I were to rewrite or refactor some of the untested code today I would add tests for them, because the cost of adding tests has been lowered considerably. So Elvish's test coverage is still increasing slowly as the cost of testing decreases.
zvolsky|1 year ago
xiaq|1 year ago
unknown|1 year ago
[deleted]
0xdeadbeefbabe|1 year ago
xiaq|1 year ago
mpenick|1 year ago
xiaq|1 year ago