• DocumentCode
    3191890
  • Title

    Improving Model Quality by Validating Constraints with Model Unit Tests

  • Author

    Hamann, Lars ; Gogolla, Martin

  • Author_Institution
    Comput. Sci. Dept., Univ. of Bremen, Bremen, Germany
  • fYear
    2010
  • fDate
    3-3 Oct. 2010
  • Firstpage
    49
  • Lastpage
    54
  • Abstract
    A central part of modern development methods is the use of tests. A well-defined test suite is usually the basis for code refactoring because changes to the system under test can be easily validated against the test suite. In model-based development tests can be derived from the model but possibilities to test the originally specified model and therefore to improve the quality of model refactorings are rare. We propose a method for defining model unit tests which allows a developer to define test suites similar to the well-known xUnit testing frameworks. This gives the developer the possibility to easily check and assess model changes against valid and invalid scenarios.
  • Keywords
    program testing; code refactoring; model quality; model unit tests; xUnit testing frameworks; Adaptation model; Companies; Concrete; Context modeling; Syntactics; Testing; Unified modeling language; OCL; Quality; Test Suite; Unit Tests; Validation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Model-Driven Engineering, Verification, and Validation (MoDeVVa), 2010 Workshop on
  • Conference_Location
    Oslo
  • Electronic_ISBN
    978-0-7695-4384-0
  • Type

    conf

  • DOI
    10.1109/MoDeVVa.2010.18
  • Filename
    5772251