Skip to content

Removed duplicate code and some perfomance optimizations#166

Merged
sagatowski merged 2 commits intotcunit:masterfrom
oswin02:master
Jan 7, 2022
Merged

Removed duplicate code and some perfomance optimizations#166
sagatowski merged 2 commits intotcunit:masterfrom
oswin02:master

Conversation

@oswin02
Copy link
Contributor

@oswin02 oswin02 commented Oct 19, 2021

NumberOfTestsToAnalyze calculation moved in a method to remove duplicate code;
Deleted some needless IF statements surrounding the for loops (when NumberOfTestsToAnalyse is 0, the FOR loop is not executed);
Return immediately from AreAllTestsFinished when one unfinished test was found;

durst-po and others added 2 commits October 19, 2021 10:04
@sagatowski
Copy link
Member

Thanks for this PR. I'll try to look at it during the weekend.

@sagatowski sagatowski merged commit 6b996f4 into tcunit:master Jan 7, 2022
@sagatowski
Copy link
Member

@oswin02 Merged. Took a little longer than "just a weekend". Thanks for your contribution.

@sagatowski sagatowski added this to the Release 1.3.0.0 milestone Apr 30, 2023
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.

3 participants