ModelSEED TestingHelpers - ModelSEED/Model-SEED-core GitHub Wiki
Returns a debug version of FIGMODEL with proper configuration setup. Accepts a hash ref of arguments that you would like to pass into the FIGMODEL constructor. If you would like to modify the default debug config, call getDebugFIGMODELConfig()
Produces a clean test configuration containing data for running test scripts. If the test configuration data doesn't already exist (at ${"database root directory"}/TestData/ this function automatically downloads the data from the server.
This test data is then copied to temporary directories and the configuration files are generated pointing to that temporary location. In this way each call to getTestConfig will produce a clean dataset.
Returns a hash of configuration data to be passed to a FIGMODEL using the FIGMODEL->new({ configFiles => [hash] }); argument.
Currently we produce: - A ModelDB database with default data plus - Two users "alice" and "bob" - Two copies of the "Seed83333.1" model owned by master and "alice"