Menu

#31 Integrate project specific autoexec.sas

default
open
nobody
None
v1.1
not_relevant
Enhancement_Request
Framework
3-moderate
2012-07-25
2012-07-16
No

Integrate a project specific autoexec.sas program in order to use SASUnit in existing projects. (Johannes Lang)

Discussion

  • Andreas Mangold

    Andreas Mangold - 2012-07-16

    Should already be implemented, see parameter i_autoexec.

     
    • Johannes Lang

      Johannes Lang - 2012-07-17

      That's true. But it can (and perhaps should) be clarified how to reference a project-specific autoexec.sas even at SASUnit startup, e.g. when paths, macrovariables shall be defined there and not in the start script itself.

       
      • Andreas Mangold

        Andreas Mangold - 2012-07-17

        What do you mean by at "SASUnit startup"? The program specified for parameter i_autoexec will be executed at the start of every test scenario because a new SAS session is being started for every scenario. Do you want an initialization for every test case?

         
  • Johannes Lang

    Johannes Lang - 2012-07-18

    I mean, when I launch SASUnit by executing the OS-specific start script.
    Then I want to run my autoexec before SASUnit runs run_all.sas, so that I can use my global macro variables in run_all.sas. For example, I defined the path where SASUnit itself resides on my disk in this autoexec.sas. Then I want to use this variable in run_all.sas, to avoid hardcoded environment info there. (BTW, there seems to be a ticket that addresses this matter -> [#7]). Does this clarify my scenario?

     

    Related

    Tickets: #7

    • Andreas Mangold

      Andreas Mangold - 2012-07-18

      OK, accepted. Maybe we should integrate that into [#7]. We will decide on that later.

      • component: unknown --> Framework
       

      Related

      Tickets: #7

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB