Skip to content
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

Strange interpretation of coverage incompleteness : Incomplete coverage! Expected 50, but got 67 #229

Open
gsvgit opened this issue Feb 3, 2023 · 3 comments

Comments

@gsvgit
Copy link
Contributor

gsvgit commented Feb 3, 2023

  • V# version to reproduce
  • Test to reproduce
  • Steps
    • Run the test
    • Get exception "Incomplete coverage! Expected 50, but got 67"
  • Expected: I think, that it is not an exception when actual coverage higher that expected.
@MchKosticyn
Copy link
Member

Это не совсем так: иногда есть ветки, которые точно недостижимы и мы хотим это проверять.

@gsvgit
Copy link
Contributor Author

gsvgit commented Feb 7, 2023

Ща. То есть если я попросил 50, а покрыли 67, то это говорит о том, что я чего-то в тестируемом коде не понимаю? Наверное, логично. Но почему тогда если я попрошу покрыть 67, то оно, кажется, вообще не завершается за разумное время?

Чот сложно.

@MchKosticyn
Copy link
Member

Вот последнее поведение действительно странное..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants