TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: In Software Testing does "branching" and "stacking" of test cases exist?

1 pointsby sqln00babout 7 years ago
I&#x27;m researching certain aspects of web-based UI regression tests of a customized closed source remote standard software.<p>I have close to no experience in software testing. AFAIK test cases should be rather atomic and carefully consider state.<p>&gt;With &quot;branching&quot; I mean only once executing steps different test cases commonly begin with and only then starting to execute each test cases&#x27; unique parts one after another.<p>&gt;With &quot;stacking&quot; I mean integrating test cases that depend on each other into one &quot;stacked&quot; test case that reports how far it got (&quot;until login-page&quot;, &quot;until login as A&quot;, &quot;until placing ABC in shopping cart&quot; etc)<p>More specifically: According to common best practices if I test the behaviour of several UI elements on the same page A, do I…<p>a) …Repeat the whole login and navigation process for every UI element?<p>b) …Seperately test login and navigation to A? Does this differ for manual and automated testing?<p>Especially when it comes to manual testing and test cases that I do not expect to affect global state but are rather UI-focussed I thought about grouping those test cases (as in once logging in and navigating to page A and then testing all ist UI elements one-at-a-time. But it feels like a &quot;process smell&quot; to me. Even if I don&#x27;t expect them to, I feel like &quot;using&quot;&#x2F;&quot;triggering&quot;&#x2F;clicking the UI elements might actually cause unexpected side effects that interfer with the result of the next UI elements&#x27; tests. But as I don&#x27;t have access to the sofware&#x27;s internals how <i>do</i> I effectively avoid such side effects? Re-deploying the customizations to a vanilla system before each test? That is not feasible.<p>I appreciate any input.

no comments

no comments