Approval Tests @ CodersTUG

  • 693 views
Uploaded on

 

More in: Software , Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
693
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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. The Principle var expected = "some string"; var actual = "some other string"; Assert.Equal(expected, actual);
  • 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. Unleash the power Fight with Legacy Code
  • 5. Random Thoughts Plus Tips & Tricks
  • 6. Both High & Low Level Tests
  • 7. Code Quality Feedback
  • 8. Intermediate Steps
  • 9. Only Commit approval.* Files
  • 10. By Default Use CI Friendly Reporters
  • 11. Learning Through Sharing http://coderstug.wordpress.com