.. _How do I run Specman using IntelliGen?:

How do I run Specman using IntelliGen?
======================================

If you load a file in Specman via :menuselection:`right click on an e file --> Run as --> Load in Specman`, after running the first time, you should find a Run Configuration with the name of the file under the :menuselection:`Run --> Run Configurations... --> Load in Specman group`.

You can edit this Run Configuration in order to pass your own **Test Commands** to Specman. In this specific case, the Test Command field should read:

.. code-block::

    config gen -default_generator=IntelliGen

You could also use ``SPECMAN_PRE_COMMANDS`` system variable (in the console where you run DVT or @user-level):

.. code-block::

    setenv SPECMAN_PRE_COMMANDS "config gen -default_generator=IntelliGen"

OR

.. code-block::

    export SPECMAN_PRE_COMMANDS="config gen -default_generator=IntelliGen"
