docs: function(name, func) {
        var _case = new Case({
          name: name
        });
        salep.cases.push(_case);
  
        if (salep.isRunning && !skipNextEnabled) {
          caseStart(_case);
          try {
            func();
            _case.success = true;
            success(_case);
          } catch (e) {
            _case.success = false;
            _case.reason = e;
            fail(_case);
          }
        } else {
          _case.skipped = true;
          _case.success = false;
          skipNextEnabled = false;
          skip(_case);
        }
      }