Auto generation of test case class from sequence diagram

homepage Forums BridgePoint/xtUML Usage and Training Auto generation of test case class from sequence diagram

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1989
    Dan George
    Participant

    I just viewed Module 17, “Model Based Testing.”

    AWESOME! I knew this kind of thing could be done but I’ve never been able to convince my co-workers and management to invest in it. But now I’m getting the this-is-too-good-to-be-true feeling. I’ll get over it.

    Speaking of tgtbt, auto generating the test cases from sequence diagrams seems like an obvious great idea. Are there complications that don’t reveal themselves in the video?

    Come to think of it, I haven’t seen any mention of model-to-model translation. In this case, I’d be generating more of a model from itself. The sequence diagram would depict the expect sequence using real components. In this case, the UI component and the rest. The compiler would generate the corresponding test case and add it to the UItb component.

    #2017
    cort
    Keymaster

    People/companies are using this (or similar) test harnessing in real projects.

    The primary point of model-based testing is to gain the stated benefits of modeling (abstraction and thus productivity) when testing.

    This harness is nothing near ideal, but it works and provides a solid first step.

    Hmm, sequence diagrams. It is not difficult to use sequence diagrams as input stimulus to testing. It is not difficult to use sequence diagrams as expected results of testing. I am not aware of automated paths to do this with BridgePoint.

    Cort

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.