home.social

#fixtures — Public Fediverse posts

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

fetched live
  1. [Перевод] Playwright в картинках: как работают фикстуры

    Фикстуры в Playwright дают много возможностей, но за это приходится платить пониманием их жизненного цикла. В статье показываю на простых графиках, как фикстуры создаются и очищаются, как работает auto-режим, зависимости и скоупы.

    habr.com/ru/articles/1054132/

    #playwright #fixtures #testing #automation #тестирование #автотесты

  2. Ваши тесты медленные не из-за базы данных. Я измерил

    Есть устойчивое поверье: интеграционные тесты медленные, потому что ходят в настоящую базу. «Подними SQLite в памяти», «замокай репозитории», «не гоняй Postgres в CI» — стандартный набор советов. Мокать я не люблю, но крыть упрёк «настоящая база — это медленно» было нечем. Поэтому я сел, спрофилировал и померил: 3316 интеграционных тестов, прогон 30 минут. После трёх правок инфраструктуры — 109 секунд. База оказалась ни при чём, а совет «чисти базу через TRUNCATE, это быстрее DELETE» у меня работал ровно наоборот — обидно вдвойне, потому что эта рекомендация уже лежала в черновике моей следующей статьи.

    habr.com/ru/articles/1045923/

    #pytest #pytestasyncio #интеграционные_тесты #Python #sqlalchemy #postgresql #fixtures #asyncio #cprofile #event_loop

  3. Premier League's Next Chapter Looms: Dates and Fixtures Unveiled for 2026/27

    The Premier League has announced the dates and fixtures for the 2026/27 season. Find out when the new season starts and key match dates.

    #PremierLeague, #Football, #2026-27Season, #Fixtures, #Soccer

    newsletter.tf/premier-league-2

  4. The Premier League 2026/27 season is set to begin soon. This season will feature 20 teams competing for the title and European spots.

    #PremierLeague, #Football, #2026-27Season, #Fixtures, #Soccer
    newsletter.tf/premier-league-2

  5. Wallabies Test match fixtures for 2026 released, Les Kiss faces Eddie Jones in first match as coach of Australia

    Incoming Wallabies coach Les Kiss will launch his tenure against Eddie Jones’s Japan, Australia’s 14-Test schedule for 2026…
    #NewsBeep #News #Rugby #2026 #ABCSport #all-blacks #AU #Australia #England #Fixtures #France #Ireland #italy #japan #pumas #rugbyunion #Scotland #Sport #sports #Springboks #Testmatch #Wales #Wallabies
    newsbeep.com/au/309432/

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

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

    habr.com/ru/articles/918546/

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

  7. Введение в фикстуры Playwright

    Привет! Я Даниил, занимаюсь разработкой на Angular в T-Банке и хочу поделиться с вами опытом использования фикстур в Playwright. Я решил поговорить об этом, потому что вместе с ростом функциональности проектов растут и сложности при тестировании, а фикстуры предоставляют удобный способ избавиться от дублирующегося кода и сложных моков. Эта статья посвящена основам: зачем нужны фикстуры, чем они отличаются друг от друга и какую пользу приносят при тестировании веб-приложений. Мы подробно разберем устройство фикстур, посмотрим, как их создавать и грамотно внедрять в тесты. А еще рассмотрим практические примеры, которые помогут с легкостью применить полученные знания на реальном проекте. Поехали!

    habr.com/ru/companies/tbank/ar

    #angular #ангуляр #тестирование #playwright #интеграционное_тестирование #веб #frontend #fixtures #фикстуры

  8. Et aussi j'en ai profité pour rendre la seule recette qu'on a dans nos #fixtures vegan parce que ça va bien 5 minutes (bon et aussi parce que je voulais tester les tags).

  9. Today I found a nice library for writing tests in Rust! 🔥

    🦀 rstest: Fixture-based test framework for Rust.

    🚀 Procedural macros for helping you write fixtures/table-based tests.

    ⭐ GitHub: github.com/la10736/rstest

  10. We use the Alice bundle for our fixtures in the behat feature tests. With the last update the order of the inserts of the entities has been changed. I don’t know how or why but it was done. But we must ensure that the entities has the expected ids.

    Now we change to the Foundry package where we can be safe that the entities will be created in the expected order.

    Does someone had the same problem with the Alice bundle?

    #symfony #behat #feature #fixtures #php

  11. Je vais essayer d'utiliser #Jsonnet pour générer des fichiers #Yaml de #fixtures, je suis curieux de voir si l'expérience développeur est agréable ou non.

    Détail github.com/stephane-klein/back

  12. @searls has a free-as-in-puppy open source opportunity for the person who can give it a good home. We Rate Dogs would give test_data an 11/10: unique personality, super fast, and this Ruby gem gets along well with everyone.

    Consider it a reference implementation for a pattern that every web application framework should consider adopting. If that sounds intriguing maybe you're the one who should adopt test_data 🐶
    link.testdouble.com/new-ruby-t
    #Ruby #Rails #FactoryBot #Factories #Fixtures

  13. En esta sesión número 20 del Taller de Rust continuamos con el trabajo de Rust y SQLx para poder operar con nuestro lenguaje favorito y bases de datos, en especial postgres.
    Ccreación de la API para hacer INSERT, es decir crear nuevos datos en las tablas.

    Además revisamos la creción de test, realizando un par de pruebas sencillas, a modo de introducción.

    #rust #unittest #sql #sqlx #postgres #fixtures

    youtube.com/watch?v=qcqfBCMxuy

  14. In this version just released I contributed with new features related to compressed and fixtures . 🗜️

    I've explored into the topic and produced some sample in this article. 👇

    🦄 🐍

    paulox.net/2021/04/06/django-3

  15. During these holidays I completed a PR to add support for compression in using only the stdlib. 🚀

    You will be able to create fixtures using only the dumpdata command. 🪄

    I hope it will be useful to many. 🤞

    github.com/django/django/pull/