OT - So, what's new in the world of programming?

2010-11-03 Thread silky
Anything interesting? Anyone doing cool things with cool stuff that I
would have absolutely no idea about? Interested to know.

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread silky
On Thu, Nov 4, 2010 at 9:32 AM, Peter Gfader pe...@gfader.com wrote:
 I came across Mutation testing 2 weeks ago. And loved the idea.
 But didn't dig into it too much yet.

 The Idea of Mutation testing

 How can you trust your tests?

 Let a tool change your app a little and run all tests.

 If 1 test fails, because of that change, you had good tests in place...

Heh, that's pretty cute, some sort of fuzzing applied to tests. Don't
mind that. Nice one.


 More here
 http://en.wikipedia.org/wiki/Mutation_testing
 and a .NET implementation here
 http://www.simple-talk.com/dotnet/.net-tools/mutation-testing/

 .peter.gfader.
 http://blog.gfader.com

-- 
silky

http://dnoondt.wordpress.com/

Every morning when I wake up, I experience an exquisite joy — the joy
of being this signature.


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Simon Reed
Not exactly new but I don't remember seeing it mentioned on here before Pex
automated white box testing. Unit testing for people who don't like writing
endless unit tests. Also moles for delegate testing. Been playing around
with it for a while and the time savings are good but the learning curve to
get the most out of it can be a bit steep.

Simon

http://research.microsoft.com/en-us/projects/pex/

On Thu, Nov 4, 2010 at 6:35 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 9:32 AM, Peter Gfader pe...@gfader.com wrote:
  I came across Mutation testing 2 weeks ago. And loved the idea.
  But didn't dig into it too much yet.
 
  The Idea of Mutation testing
 
  How can you trust your tests?
 
  Let a tool change your app a little and run all tests.
 
  If 1 test fails, because of that change, you had good tests in place...

 Heh, that's pretty cute, some sort of fuzzing applied to tests. Don't
 mind that. Nice one.


  More here
  http://en.wikipedia.org/wiki/Mutation_testing
  and a .NET implementation here
  http://www.simple-talk.com/dotnet/.net-tools/mutation-testing/
 
  .peter.gfader.
  http://blog.gfader.com

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.



Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Peter Gfader
+1 to Pex
It is awesome for generating test inputs.

If another dev comes to you and says: I am done
You run Pex over those methods and get quite a lot of exceptions ;-)

.peter.gfader.
http://blog.gfader.com



On Thu, Nov 4, 2010 at 11:55 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 10:04 AM, Simon Reed
 simon.spectre.l...@gmail.com wrote:
  Not exactly new but I don't remember seeing it mentioned on here before
 Pex
  automated white box testing. Unit testing for people who don't like
 writing
  endless unit tests. Also moles for delegate testing. Been playing around
  with it for a while and the time savings are good but the learning curve
 to
  get the most out of it can be a bit steep.

 Cool; also from the list of VS Power Tools; this looks pretty cool:


 http://visualstudiogallery.msdn.microsoft.com/en-us/271d0904-f178-4ce9-956b-d9bfa4902745


  Simon
 
  http://research.microsoft.com/en-us/projects/pex/

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.




-- 

.peter.gfader.
http://blog.gfader.com/
http://twitter.com/peitor


Re: OT - So, what's new in the world of programming?

2010-11-03 Thread Simon Reed
Yeah the first time I ran it over my own code I nearly had a heart attack!

On Thu, Nov 4, 2010 at 9:38 AM, Peter Gfader pe...@gfader.com wrote:

 +1 to Pex
 It is awesome for generating test inputs.

 If another dev comes to you and says: I am done
 You run Pex over those methods and get quite a lot of exceptions ;-)

 .peter.gfader.
 http://blog.gfader.com



 On Thu, Nov 4, 2010 at 11:55 AM, silky michaelsli...@gmail.com wrote:

 On Thu, Nov 4, 2010 at 10:04 AM, Simon Reed
 simon.spectre.l...@gmail.com wrote:
  Not exactly new but I don't remember seeing it mentioned on here before
 Pex
  automated white box testing. Unit testing for people who don't like
 writing
  endless unit tests. Also moles for delegate testing. Been playing around
  with it for a while and the time savings are good but the learning curve
 to
  get the most out of it can be a bit steep.

 Cool; also from the list of VS Power Tools; this looks pretty cool:


 http://visualstudiogallery.msdn.microsoft.com/en-us/271d0904-f178-4ce9-956b-d9bfa4902745


  Simon
 
  http://research.microsoft.com/en-us/projects/pex/

 --
 silky

 http://dnoondt.wordpress.com/

 Every morning when I wake up, I experience an exquisite joy — the joy
 of being this signature.




 --

 .peter.gfader.
 http://blog.gfader.com/
 http://twitter.com/peitor