-
Notifications
You must be signed in to change notification settings - Fork 31
Исправление тестов (манифесты, доступность пакетов) #173
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
Conversation
ovcharenko-di
commented
Jan 17, 2020
- тесты по манифестам падали из-за лишних пробелов в эталонных строках
- тест по проверке регистронезависимости пакетов, по сути, ничего не проверял т.к. искал пакет в кеше по "правильному" имени
- исправил тесты по поиску доступных пакетов
|
Коммитов многовото. Как будто отбранчевался не от девелопа |
| | <engine-version>1.0</engine-version> | ||
| | <description>Это пакет для тестирования</description> | ||
| | <author-email>mail@server.com</author-email> | ||
| | <depends-on name=""asserts"" /> |
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.
Это изменение будет падать на одной OS и работать на другой. Linux и Windows формируют разные xml
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.
Тогда, пожалуй, следует 2 теста держать и пропускать один в зависимости от среды, верно?
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.
В каком-то из соседних проектов вопрос решили через проверку по шаблону и \s* после кавычки.
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.
для инфо: нашел шаг в 1bdd
//Файл "folder0/file01.txt" содержит xml "Текст файла"
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.
сделал очень прямолинейно, но должно работать корректно
407b13a to
b172403
Compare
|
наверное, надо еще перезапустить билд |
|
@ovcharenko-di влей/сделай ребейз девелопа, пожалуйста. |
|
|
||
| Результат = СтрЗаменить(Запись.Закрыть(), Символы.ВК+Символы.ПС, Символы.ПС); | ||
| Результат = СтрЗаменить(Результат, " />", "/>"); | ||
|
|
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.
Зачем это?
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.
@EvilBeaver, см. выше комментарий @nixel2007
|
@ovcharenko-di тесты упали, посмотришь? |
@nixel2007, не понимаю, почему этот тест может падать. |
|
@ovcharenko-di Доделаешь ПР ? |
Знать бы, что там не так на CI. У меня локально все ок |
EvilBeaver
left a comment
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.
LGFM
