Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Automatic JUnit tests are executed in each continuous integration build in Bamboo. The They can also be run locally in your KIELER development environment.

All tests are located in the test folder of the semantics repository. Most the They perform their test based on models loaded from the models repository.
Executing these test requires a local checkout of the repository. It is also necessary to set The path to the repository must be added to the following environment variable when executing the tests:

models_repository=path/to/models/repository

it is also possible to specificy multiple repositories, using the following notation:

models_repository=[path1, path2]

Models Repository

The models repository uses property files to detect and configure models used in tests.

The properties associated with a model file are derived from a hierarchy of property files. All files named directory.properties assign properties to the directory the they are placed located and all subdirectories. Files named modelA.properties assign properties to all files in the same directory with the same filename, i.e. modelA.sct or modelA.broken.sct.

...