Opened 8 years ago

#575 new enhancement

run custom model tests when checking model

Reported by: pkienzle Owned by:
Priority: minor Milestone: SasView Next Release +1
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

The code in sasgui/perspectives/calculator/pyconsole.py loads and runs the model when editing is complete but it does not run the tests that are recorded in the model. Rearrange the code in sasmodels/model_test.py so that it can be called from sasview on custom models. This could be done either within the unittest framework, or by moving the test cases out of the unittest framework so that they can be called from unittest, from the gui and from the sasmodels command line.

Verbose output showing q → I(q) for each test would be best.

Change History (0)

Note: See TracTickets for help on using tickets.