Approval Tests @ CodersTUG

1,032 views

Published on

Published in: Software, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,032
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Approval Tests @ CodersTUG

  1. 1. Approval Tests A picture’s worth a1000 tests Matteo Baglini Freelance Software Developer & Tecnical Coach (and so on...) Coders TUG & DotNetToscana Co-Founder @matteobaglini matteo.baglini@gmail.com
  2. 2. The Principle var expected = "some string"; var actual = "some other string"; Assert.Equal(expected, actual);
  3. 3. Approval Tests Framework Available for many languages: • Java, C#, VB.Net, PHP, NodeJS, Python or Ruby. Support most (may be all) test frameworks/runners: • JUnit, NUnit, xUnit, NCrunch, rSpec, etc. Many useful reporters: • Diff reporters: Generic, AraxisMerge, P4Merge, KDiff, VisualStudioDiff, TortoiseDiff, WinMerge. • CI: CruiseControl, TeamCity, Quiet. • Misc: FileLauncher, Image, Clipboard. Environment/Platform specific approvals: • ASP.NET (WebForm/MVC), WPF, Rdlc Reports.
  4. 4. Unleash the power Fight with Legacy Code
  5. 5. Random Thoughts Plus Tips & Tricks
  6. 6. Both High & Low Level Tests
  7. 7. Code Quality Feedback
  8. 8. Intermediate Steps
  9. 9. Only Commit approval.* Files
  10. 10. By Default Use CI Friendly Reporters
  11. 11. Learning Through Sharing http://coderstug.wordpress.com

×