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

checking "broken" and "skipped" statuses moved out of executeTest() #246

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

molotkovserguei
Copy link

@molotkovserguei molotkovserguei commented Apr 12, 2024

runner/runner.go

The executeTest() function returns an empty &models.Result{Test: v} for the "broken" and "skipped" statuses, which is ignored outside of functions. At the same time, the "focus" and "broken" statuses are processed before the executeTest(). There is a reason to move the status processing closer to each other.

Функция executeTest() возвращает по статусам "broken" and "skipped" пустой ответ &models.Result{Test: v}, который далее ингорируется. В тоже время обработка статусов "focus" и "broken" происходит перед вызовом executeTest(). Есть повод перенести обработку статусов ближе друг к другу.

@molotkovserguei molotkovserguei changed the title from executeTest() on broken and on skipped statuses moved to (r *Run… from executeTest() on broken and on skipped statuses moved up Apr 12, 2024
@molotkovserguei molotkovserguei changed the title from executeTest() on broken and on skipped statuses moved up checking "broken" and "skipped" statuses moved out of executeTest() Dec 26, 2024
@molotkovserguei
Copy link
Author

возврат &models.Result{} был исправлен в коммите 13e5ca4

Перенос самой проверки статусов "broken" and "skipped" ожидает проверки. Кто-то вероятно должен проверить и разрешить слияние. Кто именно - здесь не видно. Посмотрите пожалуйста. Реквест очень маленький.

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.

1 participant