title: How to access test suite directory path inside the test code
body: <p>I need to access current test suite Directory path inside the test code. So as to access some files in the test suite directory:</p>
  
  <p>Example:</p>
  
  <pre><code>/home/stu/myproj/pytest
                      |_test_abc.py
                      |_perf.sh
                      |_conftest.py
  </code></pre>
  
  <p>I need to get the path of  perf.sh(/home/student/pytest/) inside the test_abc.py. Since i do not know from which directory py.test command will be run, and the user can move(git clone) myproj to any directory. I can't use hardcoded path. </p>
  
  <p>since the test suite directory will be passed as parameter , is there a way access this directory path and use it inside my test code (test_abc.py). </p>