-
Notifications
You must be signed in to change notification settings - Fork 55
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
issues-147: add description to tests #151
Conversation
Открытые вопросы:
Осталось сделать:
|
@@ -93,7 +94,11 @@ func makeTestFromDefinition(filePath string, testDefinition TestDefinition) ([]T | |||
// produce as many tests as cases defined | |||
for caseIdx, testCase := range testDefinition.Cases { | |||
test := Test{TestDefinition: testDefinition, Filename: filePath} | |||
test.Name = fmt.Sprintf("%s #%d", test.Name, caseIdx) | |||
test.Name = fmt.Sprintf("%s #%d", test.Name, caseIdx+1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Когда указывали cases нумерация в выводе отображалась с нуля, поправил.
Теперь отображается с 1
Также нужно обновить Readme:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Как упомянул @keyclaim, еще нужно:
- Добавить в README информацию о поле
- Добавить в README информацию о том что поле попадает в Allure отчет
- Добавить что при использовании пайпа (
description: |
) будет учитываться лишняя строчка (либо добавить strip на это поле) - Выводить "No Description" когда поле не заполнено
@Mania-c , посмотри комментарии пожалуйста |
Комментарии увидел, на этой недели запушу |
Можно использовать |
Ещё надо:
Докину отдельным PR |
🚀 PR was released in |
Resolve #147