Micro is a xUnit style testing framework design for use with AutoIt. The goal of Micro is to be easy to use and simple to integrate with continuous integration services.
Even though AutoItObject has #include-once, AutoIt's logic for only including once is messed up if one UDF uses #include <AutoItObject\AutoItObject.au3> and another uses #include <AutoItObject/AutoItObject.au3>.
This leads to AutoIT trying to include AutoItObject twice and running into hundreds of errors about trying to redeclare all the Global Const's and function names in AutoItObject.
As this is Windows, I believe we should standardize on backslashes since most UDF's will use backslashes.
Currently, I have to manually edit micro.au3 and change the slash to a backslash.
Even though
AutoItObject
has#include-once
, AutoIt's logic for only including once is messed up if one UDF uses#include <AutoItObject\AutoItObject.au3>
and another uses#include <AutoItObject/AutoItObject.au3>
.This leads to AutoIT trying to include
AutoItObject
twice and running into hundreds of errors about trying to redeclare all theGlobal Const
's and function names inAutoItObject
.As this is Windows, I believe we should standardize on backslashes since most UDF's will use backslashes.
Currently, I have to manually edit
micro.au3
and change the slash to a backslash.