Giter VIP home page Giter VIP logo

testtracer's Introduction

TestTracer

Create test cases from activity diagrams.

WHAT IS TEST TRACER?

TestTracer is a simple tool that will create test case specifications from activity diagrams.

The main purpose is to define a set of usage scenarios that will cover all activity diagram transitions with the least amount of work.

The test case content will be based on the diagram nodes name, documentation and other metadata. Obviously, the better the activity diagram is documented the more detailed the resulting test cases will be. Additional text is added to remember the tester to verify situations like decisions, fork/joins, etc.

This tool feeds off XMI files (XML Metadata Interchange) exported form UML modeling applications (currently only supporting Enterprise Architect from Sparx Systems).

HOW TO USE TEST TRACER?

  • Download the latest executable JAR from https://github.com/joao-carloto/TestTracer/releases
  • In Enterprise Architect, right click the package that contains the activity diagram(s) and select "Import/Export" > "Export package to XMI file"
  • Run the TestTracer JAR.
  • Select the XML file you just exported from EA.
  • Click "Create Tests".
  • If the exported package contains more than one activity diagram, select the one you pretend to process.
  • The resulting test cases are displayed.

CURRENT LIMITATIONS

This tool is currently at a "proof of concept" stage and hasn't been thoroughly tested (yes, the author is a tester, but has other responsibilities and limited time). Some of the currently known limitations are:

  • Text included in the tests, to handle decisions, fork/joins, etc, is written in English. Currently there's no interface to define a template in a different language.
  • The test tracing algorithm has room for improvement and it has not been tested in really large and complex diagrams.
  • The test cases produced are not in the typical step/result format, but as a sequence of actions, decisions and events, that may require additional editing.
  • Some options on test case design may not be consensual. E.g. loops are only traveled once.
  • It cannot be used on diagrams with elements copied as links to elements contained in another package.
  • For now, it only supports XMI exported from EA.

Please feel free to contribute with suggestions and bug reports at https://github.com/joao-carloto/TestTracer/issues.

testtracer's People

Contributors

joao-carloto avatar

Stargazers

 avatar  avatar  avatar Augusto Campos avatar  avatar

Watchers

 avatar

testtracer's Issues

Execution problem

Hi, I am working on test case generation field. I tried to execute the TestTracer tool with XMI Enterprise architect file (with activity diagram) but I have the follow error message: "No activity diagrams were found on the package". Can I have an XMI file that works with TestTracer.

Thank you.

how to run the code?

Hi sir how are you? I am interested to see your work and I tried to use the steps that you have provided but, I couldn't able to see how it works if you are willing please tell me what to do to see how the test cases are generated. thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.