Jump to content

Unit-testing for included files in AutoIT?


Recommended Posts

Sorry if I am calling this the wrong thing. I just read up on this and it sounds like something I need to add to some code for work.

what I need is to have header on a library file that will only execute if it is ran by itself. This would help track down problem when I start updating libraries ( Ie included files)

Dewclaws

Link to comment
Share on other sites

Sorry if I am calling this the wrong thing. I just read up on this and it sounds like something I need to add to some code for work.

what I need is to have header on a library file that will only execute if it is ran by itself. This would help track down problem when I start updating libraries ( Ie included files)

A not so pretty way of doing this, is having it checked for its own name. And if its the libs name, then its runned by itself.

Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...