Garbage collected teardown

  • 691 views
Uploaded on

 

  • 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
691
On Slideshare
0
From Embeds
0
Number of Embeds
0

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. xUnit Test Patterns Chapter 22 Fixture Teardown Patterns 2010/7/24 2010 7 24
  • 2. Garbage-Collected Teardown 2010 7 24
  • 3. Garbage-Collected Teardown • fixture tear down →Fresh Fixture • Garbage Collection(GC) 2010 7 24
  • 4. How it Works • transient ( ) • GC 2010 7 24
  • 5. • • global (static) GC • Test Automation Framework Testcase Class Test Methods Testcase Object 2010 7 24 Test suite Object
  • 6. • suite suite 2010 7 24
  • 7. When to Use it • Garbage-Collected Teardown • GC GC ( DB ) 2010 7 24
  • 8. • Shared Fixture fixture fixture Garbage- Collected Teardown 2010 7 24
  • 9. • In-line Teardown (page 509), Implicit Teardown (page 516), Automated Teardown (page 503) to 2010 7 24
  • 10. Implementation Notes • xUnit family IDE test sutie • Reload Classes 2010 7 24
  • 11. • fixture Garbage-Collected Teardown IDE 2010 7 24
  • 12. Motivating Example • fixture In-line Teardown • proposedFlight 2010 7 24
  • 13. • Garbage-Collected Teardown • Shared Fixture Fresh Fixture 2010 7 24