Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Development
[COSMIC] Project
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="LeChris" data-source="post: 455429" data-attributes="member: 37998"><p>Sounds like you're getting a bit personal because you want to verify fake functionality against fake mocks. We do both and don't worry about arbitrary rules if the functionality supports it. If you're concerned about a function having too many side effects, chances are it wouldn't matter if its a static or instance binded function. You have too much responsibility and have made testing actual functionality beyond impossible.</p><p></p><p>Break it up into more functions instead of mocking the mock, that mocks a mock mocking another mock.</p></blockquote><p></p>
[QUOTE="LeChris, post: 455429, member: 37998"] Sounds like you're getting a bit personal because you want to verify fake functionality against fake mocks. We do both and don't worry about arbitrary rules if the functionality supports it. If you're concerned about a function having too many side effects, chances are it wouldn't matter if its a static or instance binded function. You have too much responsibility and have made testing actual functionality beyond impossible. Break it up into more functions instead of mocking the mock, that mocks a mock mocking another mock. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Development
[COSMIC] Project
Top