File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Rubberduck.UnitTesting/UnitTesting Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ internal class TestEngine : ITestEngine
37
37
private readonly List < TestMethod > LastRun = new List < TestMethod > ( ) ;
38
38
private readonly Dictionary < TestOutcome , List < TestMethod > > resultsByOutcome = new Dictionary < TestOutcome , List < TestMethod > > ( ) ;
39
39
public IEnumerable < TestMethod > Tests { get ; private set ; }
40
- public bool CanRun => ! _vbe . IsInDesignMode && AllowedRunStates . Contains ( _state . Status ) ;
40
+ public bool CanRun => AllowedRunStates . Contains ( _state . Status ) ; // && !_vbe.IsInDesignMode ;
41
41
public bool CanRepeatLastRun => LastRun . Any ( ) ;
42
42
43
43
private bool refreshBackoff ;
@@ -126,7 +126,7 @@ public void RepeatLastRun()
126
126
127
127
private void RunInternal ( IEnumerable < TestMethod > tests )
128
128
{
129
- if ( ! CanRun )
129
+ if ( ! CanRun || _vbe . IsInDesignMode )
130
130
{
131
131
return ;
132
132
}
You can’t perform that action at this time.
0 commit comments