Skip to content

Рефакторинг и исправления тестов. #13

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

Merged

Conversation

Segate-ekb
Copy link
Contributor

  1. Убрал lib.config. все определения уехали в packagedef
  2. привел к стандартной структуре каталогов библиотеки
  3. Исправил ситуацию, когда на последнем релизе 2ки при прогоне тестов вместо исходников использовался вариант asserts установленный в системе.
  4. Перевел тесты на аннотации, упростил механику тестов.

Переименовал в читабельный вид файлы
Починил тесты.
@nixel2007 nixel2007 merged commit 1757865 into oscript-library:master Jul 9, 2025
0 of 3 checks passed
Процедура ТестДолжен_Проверить_РавнаТаблице() Экспорт
ОбъектТеста.Что(Таблица1()).РавнаТаблице(Таблица1());
Ожидаем.Что(Таблица1()).РавнаТаблице(Таблица1());
Copy link
Member

Choose a reason for hiding this comment

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

Кажется, что в этом случае кто-то должен подключить библиотеку через Использовать, иначе "Ожидаем" не появится в области видимости. Не вижу места, где бы Ожидаем подключалось.

Copy link
Member

Choose a reason for hiding this comment

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

В tasks/test.os

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