Jason Bock

Results 96 comments of Jason Bock

@TheCakeMonster I just finished my investigations around writing tests for code that uses `NavigationManager`. It's.....interesting. I'm definitely writing an article on this!

@Chicagoan2016 nope. I either use Moq or my own :) (https://www.github.com/JasonBock/Rocks). I try to stay away from testing that hooks the Profiler API so you can mock static methods, non-virtual...

Just finished the article. Hopefully it'll get published soon.

It's being reviewed right now. It'll show up on Magenic's site once it's accepted.

@JacoJordaan That's exactly how to do it. Inject `IQSConnectionManager` and pass it the connection information, and you'll get back the right manager. Honestly, I'd stop using `ConnectionManager`. It's a static...

Just saw this, I'll try to take a look in the next couple of days. Thanks for the PR :)

I never got around to this, and at this point, I'm guessing this is too old, so I'm going to close it.

I would consider doing this **if** I go down [this road](https://github.com/JasonBock/Rocks/blob/main/docs/notes/Creating%20a%20Custom%20Expectations%20Object%20to%20Simplify%20Generated%20Code.md).

Definitely considering doing this now.

Since `RockRepository` was deleted with 8.0.0, it may make sense to revisit this and see if it makes sense. I know when I tried it recently, there were test cases...