Skip to content
cnlbob edited this page Aug 1, 2015 · 22 revisions

Overview of the CellBlender Test Suite:

The CellBlender Test Suite consists of a somewhat simple add-on designed to help developers quickly run through a series of CellBlender tests. As of this writing, the test suite contains 22 tests and it takes less than 2 minutes to run through all of them.

The test suite works by invoking the various Blender/CellBlender operators and setting various Blender/CellBlender properties. Eventually, each test generates an MDL file which is checked against a "known good" MDL file for that test. If they match identically (comparison of SHA1 hash), then the test passes. If they don't match, Blender exits immediately ... so there is little chance of not noticing a failure!!

Preparing to run the CellBlender Test Suite:

  1. Create a directory (folder) for your testing files and start Blender from that location.

  2. Start with a fresh startup file ( File/Load Factory Settings, File/Save Startup File, File/User Preferences/Save User Settings, close )

  3. Enable the CellBlender Test Suite: ( File/User Preferences, Add-ons, Cell Modeling, CellBlender Test Suite, Save User Settings, close )

  4. Properties Panel, Scene tab, collapse all sub-panels except "CellBlender Test Suite"

  5. Set Path To MCell Binary, collapse "Setup Panel", click "Save Startup" button

  6. Configure windows and other features as desired for testing, click "Save Startup" button again.