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

Number of passed tests is not updated properly on tests deletion #110

Merged

Conversation

arksap2002
Copy link
Collaborator

Description of changes made

After test generation and execution (i.e. after click on the "Run all" button) the number of passed tests is N/N. If I delete any of the test instances the total number of tests will be updated, but the number of passed tests will not, i.e. it will display as N/N-1 near the "Passed" label.

To Reproduce
Steps to reproduce the behavior:

Generate N tests
Click "Run all" button (assuming it result in N/N passed tests)
Delete any test instance -> you get N/N-1 passed tests
Expected behavior
Number of passed tests should not exceed the number of total test cases.

Other notes

Closes #100

  • I have checked that I am merging into correct branch

Copy link
Collaborator

@pderakhshanfar pderakhshanfar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it, and the bug is fixed. Thanks

@arksap2002 arksap2002 merged commit 73e9426 into development Jan 22, 2024
3 checks passed
@arksap2002 arksap2002 deleted the arksap2002/bugs/fix-number-of-passed-tests-updating branch January 22, 2024 15:03
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

Successfully merging this pull request may close these issues.

Number of passed tests is not updated properly on tests deletion
2 participants