code: function updateConfig(config){
          pkgVersion = config.version;
          if(config.testVars){
              testVars = config.testVars;
          }
          var pathAttrs = config.pathAttrs;
          if(pathAttrs){
              arrPathAttrs = pathAttrs;
          }
          arrPathAttrs.map(function(attr){
              mapPathAttrs[attr.name] = attr.on;
          });
          strAttrValueBlack = config.attrValueBlack;
          if(strAttrValueBlack){
              try{
                      reAttrValueBlack = eval(strAttrValueBlack);
              }
              catch(e){
                  reAttrValueBlack = /^$/;
              }
          }
          var strClassValueBlack = config.classValueBlack;
          if(strClassValueBlack){
              try{
                  reClassValueBlack = eval(strClassValueBlack);
              }
              catch(e){
                  reClassValueBlack = /^$/;
              }
          }
          hideBeforeExpect = config.hideBeforeExpect || '';
          specLists = config.specLists;
          i18n = config.i18n;
          isModuleLoading = config.isModuleLoading;
          configLoaded = true;
          if(!isModuleLoading){
              showToolPannel();
          }
      }
docs: load config