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
General Forums
News and Announcements
The Upcoming Release of MediaPortal 1.1.0
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="Hetfield" data-source="post: 567067" data-attributes="member: 47345"><p><strong>Re: The Inside Scoop Vol 1-1: MediaPortal 1.1.0 Release</strong></p><p></p><p>I have been using MediaPortal about 5 years, and about the same time being familar with TDD at my work. Wouldn't want to change either one to someting else <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>There could be many advantages from TDD or at least unit testing in MP also. Some things are maybe hard to unit test, as regards to codecs, tv cards, different video formats, etc. But by using interfaces and fake implementations for the objects, quite much of code can be tested automatically. So dependencies to hardware and codecs should be hidden with interfaces, which is a sign of good design also without TDD.</p><p></p><p>For example:</p><p>- When playing live tv</p><p>- User performs action X, for example presses stop</p><p>- Check that procedures X,Y,Z are run in the application</p><p>- No exceptions appear</p><p>- Assert the result/status with some important properties/variables</p><p></p><p>And then CruiseControl.NET to run the tests and report coverage always, and maybe some video/tv related slower tests at nighs.</p></blockquote><p></p>
[QUOTE="Hetfield, post: 567067, member: 47345"] [b]Re: The Inside Scoop Vol 1-1: MediaPortal 1.1.0 Release[/b] I have been using MediaPortal about 5 years, and about the same time being familar with TDD at my work. Wouldn't want to change either one to someting else :-) There could be many advantages from TDD or at least unit testing in MP also. Some things are maybe hard to unit test, as regards to codecs, tv cards, different video formats, etc. But by using interfaces and fake implementations for the objects, quite much of code can be tested automatically. So dependencies to hardware and codecs should be hidden with interfaces, which is a sign of good design also without TDD. For example: - When playing live tv - User performs action X, for example presses stop - Check that procedures X,Y,Z are run in the application - No exceptions appear - Assert the result/status with some important properties/variables And then CruiseControl.NET to run the tests and report coverage always, and maybe some video/tv related slower tests at nighs. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
News and Announcements
The Upcoming Release of MediaPortal 1.1.0
Contact us
RSS
Top
Bottom