qacafe - ip test solutions
Knowledge Base > Test Execution > Can I set up a default for the -testpath and -config options?

Can I set up a default for the -testpath and -config options?

When working exclusively with a single test suite, default locations for the test suite and configuration file can be setup using environment variables. Here's an example using bash:

  export BUDDY_TESTPATH=/usr/share/doc/cdrouter
  export BUDDY_CONFIG=/home/lab/dhcp.conf

This is equivalent to:

  buddy -testpath /usr/share/doc/cdrouter -config /home/lab/dhcp.conf