home.social

#conftest — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #conftest, aggregated by home.social.

  1. Постоянный логин в автотестах? Решаем с Playwright и экономим время

    Привет, тестировщики и кодеры! Представь: пишешь автотесты для UX, всё красиво, запускаешь — и каждый тест начинает с нуля: логин, пароль, кнопка. Как будто у тестов амнезия! Это бесит, тормозит и превращает код в копипасту. Давай разберёмся, как выкинуть повторный логин на свалку и ускорить всё с Playwright и Python. Читать

    habr.com/ru/articles/918546/

    #playwright_python #playwright #python #автотесты #conftest #фикстуры #fixtures #fixture #ux #autotest

  2. Anyone using #regula and their #rego policies with #conftest and custom policies for #terraform plans? Trying to extend the set of rules from regula with rego policies I write but for some reason I can’t get the expected test results. It’s like I’m not referencing the input document correctly and therefore it’s not finding any resources to run my policy checks against. It definitely doesn’t seem to work the way I’m used to with conftest and my own policies.

  3. @mrueg just use #conftest as you would :) Or plain old #OPA. You can use my kube-review tool to create admission review objects from resource manifests github.com/anderseknert/kube-r

  4. Today's lunch talk got to be "#OpenPolicyAgent Can Do THAT?! The Many Use Cases of OPA" by @jpreese of @yubico, from the #cloudnative @Rejekts conference.

    This is an excellent intro to #OPA and #Conftest, really highlighting the versatility of the tools. If you have 22 minutes to spare, this is a great way to spend them!

    youtube.com/watch?v=phvSK4pW1K

  5. New #conftest release pushed yesterday, bumping OPA to v0.47.2, a new helper function for testing "combined" config files, and support for data-only bundles 🚀

    github.com/open-policy-agent/c