Questions tagged [state-diagrams]

State diagrams or state-charts are part of business analysis, usually used for displaying a workflow or in general to chart a state changes of part of the system in finite number of predefined states.

Filter by
Sorted by
Tagged with
2 votes
2 answers

Should you write tests that are basically for no-op to catch errors? (e.g. test a transition does NOT happen in a state machine)

When writing tests for a state machine, should you also test conditions that would not trigger transitions to make sure they don't? E.g. for a software requirement transition from A to B if x is ...
Joe's user avatar
  • 121
2 votes
1 answer

What is the best way to unit-test a state machine?

I love state machines because they have systematic ways to test it but i would like to discuss some philosophies with you. Referring to the upper state machine, Suppose that we always start a state ...
Mohannad Maklad's user avatar
2 votes
1 answer

ASTQB State Transition Question

Question 28 of the ASTQB Foundation 2018 Sample Exam 1 reads: You have been given the following requirement: A user must log in to the system with a valid username and password. If they fail to ...
Wade Byron Profe's user avatar
1 vote
2 answers

Modeling application state transitions

I am a little bit confused with the "state transition modeling" technique used for testing. On a high-level, we have 3 major states when a user logs into the application under test: logged out ...
alecxe's user avatar
  • 11.4k
1 vote
2 answers

State transitions in software testing

I have got following question in an ISTQB mock exam. Given the following State Table: A B C D E F SS S1 S1 S2 S2 S3 S1 S3 ES S3 ES Question is which are invalid state transitions, but first of ...
plaidshirt's user avatar
9 votes
5 answers

Are state transition diagrams a good software testing technique

I have been looking at different testing techniques and wondered if anyone had some "real world" examples of using state transition diagrams rather than the bog standard clock and light switch ones ...
Teague's user avatar
  • 113