UKTAG – UK Test Automation Group

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on Configuration As Code

Solved!
Go to solution

Hi, This feels a little weird being the first question type post in here. hope its OK.

 

So after using LabVIEW from many a year I have taken on my first full project using TestStand alongside C# and I am in major brain cramming mode.

 

I read the article "Question on Configuration As Code" several months ago even thought not using TestStand at the time and found it interesting and looks key to making a TestStand Development environment portable and source code able.

 

Am I right thinking that using the TS Environments I can break the Sequence file location being the key to everything that seems to appear. One of the big point is that I can reference everything relative  Engine.GetEnvironmentPath  ie the location of the *.tsenv file

 

I had initially thought  my project structure would be something like 

 

<project-root>

        <Source>--- C# here

        <TS>

              Main Sequence File

              <subSequences>

               <env>

                       myenv.tsenv

 

 

but I'm thinking I do not actually need or want  the TS folder and would do 

 

<project-root>

        <Source>--- C# here

        <env>

                myenv.tsenv

        <Sequence Files>

 

 

many thanks 

 

Danny

Danny Thomson AshVire Ltd
0 Kudos
Message 1 of 2
(3,228 Views)
Solution
Accepted by topic author danny_t

I like your second option better.  I would do something like this though:

<project-root>

        <Source>--- C# here

        <env>

                myenv.tsenv

        <Sequence Files>

        <TS Public>

                <Components>

                      Etc...

                <UIs>

        <TS Cfg>

               Cfg files here

 

In case you wanted to customize any Public components or config files specific to the project.  Obviously you wouldn't need those folders if you weren't customizing anything.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 2
(3,219 Views)