Forum member

aub3n

3 posts

Posts by aub3n

  1. Is it possible to run each test in a separate process to prevent issues with mocked static methods?

    Hi Remco, I'm seeing similar behavior in JustMock when mocking some static items so I'm not sure what the exact issue is right now. If I run the tests in NCrunch with Process Memory Limit set to 1 it works fine (for JustMock), if keeping the default setting (0) the tests fail. I'm in contact with…

  2. Is it possible to run each test in a separate process to prevent issues with mocked static methods?

    Hi Remco, thanks for your reply. I have added the Isolate attribute as well as changing the limit to 1 but it still randomly fails my tests. I have gotten in touch with TypeMock support to see if there is anything in my code that shouldn't be there. Cheers

  3. Is it possible to run each test in a separate process to prevent issues with mocked static methods?

    Hi, I'm experiencing some issues when mocking static methods using typemock and running the tests in ncrunch. When running the tests in a separate process everything works fine but when ncrunch runs the tests automatically they fail randomly. This seems to be caused by mocking the static method's…