Skip to content

Smoke testing EMDW MC

Ábel Hegedüs edited this page Jun 4, 2015 · 3 revisions

Basic use cases to try

Existing model

  1. Open existing UML model
  • ensure no exceptions are logged to the Error Log
  1. Move an element on the diagram to make it dirty and save
  • ensure xtuml file is correctly saved and updated
  • DanglingHREF exceptions in log are expected due to #24
  1. Invoke code generation on XTComponent (assuming the model contains such)
  • ensure .cppmodel file is created or updated
  • ensure emdw-cpp-gen folder is created and contains snippet files

Existing model with clean

  1. Delete .xtuml, .cppmodel and .trace files, and emdw-cpp-gen directory
  2. Perform Existing model use case

New empty Papyrus project

  1. Create new Papyrus project with empty model (Class diagram, UML Primitive types)
  • ensure that no exceptions are logged to the Error Log
  1. Add new class and new property with Integer type
  2. Save the model
  • ensure that files are created and in the xtuml model, the attribute has correct type
Clone this wiki locally