home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Repair & Update Unit Tests
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Tony Wall" data-source="post: 1079136" data-attributes="member: 125233"><p>Okay I think I've read enough now to invest time migrating to XUnit.NET, Moq and AutoFixture (including it's own Moq extension). Mocking test data will be provided by AutoFixture and interception/isolation of dependencies (a.k.a. shims/moles/dynamic-proxies) is Moq's thing.</p><p></p><p>In my opinion the choice between Moq and RhinoMocks is won by Moq mainly because of it's simpler coding style but also because it appears to be more of a pure .NET open source project whereas the hibernatingrhinos.com (RhinoMock) web site clearly has a commercial product first approach (no better than Typemock then). There was another called FakeItEasy which has a simple and fun approach but I get the feeling that Moq is more professional.</p><p></p><p>[USER=106003]@FreakyJ[/USER] - Yes I want to propagate this to all the solutions. Hopefully it's straightforward with experience gained from the first conversion. If not for others at least for my own confidence that I am building everything correctly (the internals appear to be working) before submitting patches. I hope the main developers agree and don't just reject my changes <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Tony Wall, post: 1079136, member: 125233"] Okay I think I've read enough now to invest time migrating to XUnit.NET, Moq and AutoFixture (including it's own Moq extension). Mocking test data will be provided by AutoFixture and interception/isolation of dependencies (a.k.a. shims/moles/dynamic-proxies) is Moq's thing. In my opinion the choice between Moq and RhinoMocks is won by Moq mainly because of it's simpler coding style but also because it appears to be more of a pure .NET open source project whereas the hibernatingrhinos.com (RhinoMock) web site clearly has a commercial product first approach (no better than Typemock then). There was another called FakeItEasy which has a simple and fun approach but I get the feeling that Moq is more professional. [USER=106003]@FreakyJ[/USER] - Yes I want to propagate this to all the solutions. Hopefully it's straightforward with experience gained from the first conversion. If not for others at least for my own confidence that I am building everything correctly (the internals appear to be working) before submitting patches. I hope the main developers agree and don't just reject my changes :-) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: code patches (MediaPortal/TV-Server/etc.)
Repair & Update Unit Tests
Contact us
RSS
Top
Bottom