What am I doing instead of resting? Well, I'm playing with generating EPYTEST_DESELECT from `epytest --junit-xml=…`
https://github.com/gentoo/gentoo/pull/42606
https://github.com/projg2/gpyutils/blob/master/gpyutils/scripts/junit2deselect.py
What am I doing instead of resting? Well, I'm playing with generating EPYTEST_DESELECT from `epytest --junit-xml=…`
https://github.com/gentoo/gentoo/pull/42606
https://github.com/projg2/gpyutils/blob/master/gpyutils/scripts/junit2deselect.py
No więc co dziś robię zamiast odpocząć? Otóż, bawię się w generowanie EPYTEST_DESELECT z `epytest --junit-xml=…`
https://github.com/gentoo/gentoo/pull/42606
https://github.com/projg2/gpyutils/blob/master/gpyutils/scripts/junit2deselect.py
It's been a while since I've posted an update for Rack Root, but I've actually made some progress on it lately.
I've finished my refactor to use SQLAlchemy for the database connections and also (finally) figured out how I want to join tables together and relate things.
I also changed some API endpoints. For example, if you look for /network/$id/gateway and there's no gateway, you get a 404. I also changed the UX around gateways. When you make a new network, there's no gateway assigned, so that part of the page has a green + icon. When you set a gateway, that icon is now a red delete icon. Those update the field and icon dynamically without having to refresh the whole page.
The new networks page also will look at the result and see if you got an HTTP 201. If so, you get redirected to the new page. Else, you get an error message. I'm not sure if I want to add more detail to that, it would require the frontend to parse and guess what went wrong. Maybe that's an assignment for another day.
Finally, there's a new Delete network button on the network detail page.
#rackroot #homelab #vuetify #fastapi #sqlalchemy #frontend #backend #fullstack #pytest
Speaker: Matt LaymanAt the March 2019 Python Frederick event, Matt focused on the fundamentals of Python testing while using the pytest package.My Gear* Audi...
Every time pytest releases a new version I get 164432678906432 reminders about how many (side) projects with Dependabot turned on I still have.
Тесты как код: храним ручные тест-кейсы в Git и дружим с ТестОпс
В Открытой Мобильной Платформе, мы используем инструмент ТестОпс , который позволяет решать много разных задач - хранение тестов, запуск автоматизированных и ручных сценариев, анализ результатов, составление отчетов по тестированию и многое другое. Если вы считаете, что ручные тест-кейсы нужны исключительно для таблиц и интерфейсов, у нас есть новости: их можно хранить в Git как код. И не просто хранить, а интегрировать с ТестОпс. Почему это удобно? Потому что это делает управление тестами более эффективным, а данные — безопасными и надёжными.
https://habr.com/ru/articles/915004/
#TestOps #ручное_тестирование #тесты_как_код #git #pytest #allure #allure_framework #тестдизайн #devops
Paczki Pythona:
"A pamiętacie tę całkowicie przypadkową wtyczkę PyTesta, która nie jest rozwijana od 2018 roku, i którą musieliście dodać do #Gentoo, bo postanowiliśmy jej używać bez jakiegokolwiek powodu? No cóż, właśnie przestaliśmy. A tak przy okazji — właśnie udało nam się znaleźć kolejną wtyczkę, która po raz trzeci wynajduje na nowo obsługę niestabilnych testów. Miłej zabawy!"
(Szczęśliwie, jest dostatecznie kompatybilna z pytest-rerunfailures, żebym mógł ją zignorować.)