Skip to content

Develop1#859

Open
Gllaciess wants to merge 6 commits into
Yandex-Practicum:mainfrom
Gllaciess:develop1
Open

Develop1#859
Gllaciess wants to merge 6 commits into
Yandex-Practicum:mainfrom
Gllaciess:develop1

Conversation

@Gllaciess

Copy link
Copy Markdown

Создана папка praktikum, перемещены файлы в эту папку. Добавлена папка tests, в ней написаны юнит-тесты для классов Bun, Ingredient, Database, Burger. Добавлен файл .gitignore.py. Добавлен файл requirements.txt.

@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/test_bun.py Outdated
@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