Testing/E2E: Guides and Practical Know-how | Page 7 | mironsoft Blog
Testing/E2E
-
Jan 11, 2026
shallowMount replaces every child component with a stub and only renders the component under test, while mount builds the full component tree. Both functions from Vue Test Utils solve different testing problems, and mixing them up either leaves tests checking too much at once or makes them break on internal details of unrelated child components.
-
Jan 9, 2026
A WebSocket connection differs fundamentally from a classic HTTP request, because it isn't a single request with exactly one response but a persistent, bidirectional connection over which multiple messages flow in both directions at unpredictable times. This fundamental property makes classic request-response test patterns unsuited and calls for dedicated test approaches for connection setup, ongoing message exchange, and behavior on an unexpected connection drop.
-
Jan 5, 2026
Claude can generate automated pull request summaries, draft changelogs from commit history, and flag suspicious diffs for extra human review inside a CI/CD pipeline. This article shows how to run such an AI step non-interactively with clear permission boundaries, and how to keep cost and latency under control when the pipeline fires on every single commit.
-
Jan 1, 2026
Test-Driven Development is often either demonized or praised as a cure-all. The reality in PHP projects is more nuanced: TDD works brilliantly for certain classes of problems and creates unnecessary overhead for others. This article shows where the difference lies, with code, not theory.
-
Dec 30, 2025
Most bugs do not happen in the middle of the logic, they happen at its edges: empty lists, negative quantities, expired tokens, concurrent access. Claude helps derive these edge cases systematically from code, specification, and domain knowledge, instead of leaving them to chance during review.
-
Dec 25, 2025
A design system without living documentation is outdated after six months. Storybook 8 combines Component-Driven Development, automatically generated docs and visual regression testing into a workflow that teams actually stick with, from the first button component to a production-ready library.
-
Dec 25, 2025
Shell scripts are rarely tested, and that is exactly why they fail without warning in production. ShellCheck finds static errors before the script ever runs. The BATS framework enables real unit tests for Bash functions. Mocking strategies isolate external commands. CI integration ensures that every commit meets this standard.
-
Dec 23, 2025
Fixtures and factories solve the same problem in different ways: predictable, fixed test data versus flexible data generated at runtime. This article shows when each approach works best, how factories can avoid becoming overengineered, and how a hybrid model combining both keeps end to end tests for customer data and product data both stable and readable.
-
Dec 23, 2025
Parallel PHPUnit runs save time, but they place demands on database isolation, fixture design and configuration that many teams only discover after the first painful race condition. This article shows how to set up paratest correctly, why shared state is the most common source of errors, and how to make test suites genuinely parallel-safe.
-
Dec 16, 2025
Untested GraphQL resolvers are a ticking time bomb: schema changes silently break frontend contracts, and authentication bugs stay hidden until production. This article shows how to test Magento GraphQL on three levels, from unit tests for resolver logic to real HTTP requests against the endpoint.