Skip to content

Unit Testing Tutorial

Erik A. Roberts edited this page Dec 15, 2017 · 5 revisions

Workflow:

  1. Get stable DynaSim version
  2. Automatically generate test data once
    1. Automatically generate the data with 'dsUnitMake_autogenData.m'.
  3. Do DynaSim development. As new functions and features are added...
    1. Add code from function template to new DynaSim functions.
    2. Regenerate the data for the new functions
  4. Run unit tests using 'dsUnitRun_all.m'.

Here is a matlab.unittest testing template.

You can’t perform that action at this time.