dc.contributor.author | Wu, Qjpeng | |
dc.description.abstract | This paper presented a graphical tool for generating test cases based on state models.
The tool provides users with a user-friendly model editor to create their state model in
a tree view structure. The tree based state model can then be saved to a disk in the form
of an xml file and any existing model file can be loaded back into the tool. Two
different traverse algorithms are explored by this tool, state based coverage and
transition based coverage. The tool implements both algorithms and is capable of
generating test paths based on different traversal algorithms. The tool also provides a
code generation process that walks through these test paths and generates test cases in
any one of the supported .NET based programming languages specified by the user.
Lastly, the tool can generate a Visual Studio compatible model file based on the same
state model created by the user. This model serves as a good visual representation of the
state model created by the user in the model editor. The same state model is
represented in three different forms, tree based state model in model editor, xml based
state model in an xml file and graphical based state model in Visual Studio. An example
is used to demonstrate the usage of this tool and the algorithms used behind the scene. | en_US |
dc.publisher | North Dakota State University | en_US |
dc.rights | NDSU policy 190.6.2 | en_US |
dc.title | A Graphical Tool for Test Generation from State Models | en_US |
dc.type | Master's Paper | en_US |
dc.date.accessioned | 2024-05-07T21:05:01Z | |
dc.date.available | 2024-05-07T21:05:01Z | |
dc.date.issued | 2009 | |
dc.identifier.uri | https://hdl.handle.net/10365/33812 | |
dc.subject.lcsh | Computer software -- Testing. | en_US |
dc.subject.lcsh | Computer software -- Development. | en_US |
dc.subject.lcsh | Object-oriented methods (Computer science). | en_US |
dc.rights.uri | https://www.ndsu.edu/fileadmin/policy/190.pdf | en_US |
ndsu.degree | Master of Science (MS) | en_US |
ndsu.college | Science and Mathematics | en_US |
ndsu.department | Computer Science | en_US |
ndsu.program | Computer Science | en_US |
ndsu.advisor | Kong, Jun | |