chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Try the below code in TestDriven.Net:
        [Test, Isolated]
        public void ComboItemBarItemTest()
        {
            ComboBoxBarItem cb = Isolate.Fake.Instance<ComboBoxBarItem>(Members.ReturnRecursiveFakes);
            Isolate.WhenCalled(() => cb.Text).WillReturn("20");
        }


It will take ages for the test to finish running, even though if I step in using the debugger, I can pass through the two statements above. The program seems to hang at ClearMocks stage.
________
vaporizer answer
asked by nsoonhui (59.1k points)

1 Answer

0 votes
Using the code we have managed to reproduce this issue. There seem to be a bug in Isolator that causes the computer to hand when running this test.
I would let you know when we have a patch ready.
answered by dhelper (11.9k points)
...