Skip to content

first commit - #942

Open
karasiqu wants to merge 2 commits into
Yandex-Practicum:mainfrom
karasiqu:develop1
Open

karasiqu wants to merge 2 commits into
Yandex-Practicum:mainfrom
karasiqu:develop1

Conversation

@karasiqu

Copy link
Copy Markdown

No description provided.

@irisqul irisqul left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Сильные стороны:

  • Код запускается без ошибок
  • Тестовая архитектура соответствует изученным практикам написания юниттестов
  • Обеспечено необходимое тестовое покрытие

Comment thread tests/bun_test.py
@pytest.mark.parametrize("name, price", [
("black bun", 100),
("white bun", 200),
("red bun", 300),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Можно лучше: надежнее тестировать параметр при остальных неизменных. Например тут тестируем цену, значит в параметризации должна меняться только цена, а имя быть всегда одинаковым. в других случаях - аналогично

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.

2 participants