Migration and Testing (EVO 2008)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Migration and Testing (EVO 2008) - Presentation Transcript

    1. Testing and Migration Tudor Gîrba www.tudorgirba.com
    2. fo rw g rin ar ee d gin en gin en ee se rin erv g re { { { { { { } { { } } restructuring } } } { } } }
    3. { { { { { { } { { } } restructuring } } } { } } }
    4. Testing and Migration
    5. Why test?
    6. Many legacy systems don’t have tests
    7. Many legacy systems don’t have tests Customers pay for features, not tests
    8. Many legacy systems don’t have tests Customers pay for features, not tests You can’t test everything anyway
    9. Many legacy systems don’t have tests Customers pay for features, not tests You can’t test everything anyway Testing is akin to street-cleaning
    10. Many legacy systems don’t have tests Customers pay for features, not tests You can’t test everything anyway Testing is akin to street-cleaning Real programmers don’t need tests
    11. Write tests to enable evolution
    12. g fram ework Use a testin setUp assert tearDown
    13. Grow your test base incrementally
    14. Test the interface, not the implementation
    15. Record business rules as tests
    16. Write tests to understand
    17. g fram ework Use a testin setUp assert tearDown
    18. ult to set up diffic But, le gacy is setUp assert tearDown
    19. aModel aStorage aClass add(aClass) store(aClass) setModel(aModel)
    20. aModel aStorage aClass add(aClass) store(aClass) setModel(aModel) 6 casse etal 200 Du
    21. Testing and Migration
    22. Migration is a restructuring that changes the underlying infrastructure
    23. 1989
    24. Big-bang migration often fails
    25. Big-bang migration often fails Users hate change
    26. Big-bang migration often fails Users hate change You need constant feedback to stay on track
    27. Big-bang migration often fails Users hate change You need constant feedback to stay on track Users just want to get their work done
    28. Big-bang migration often fails Users hate change You need constant feedback to stay on track Users just want to get their work done The legacy data must be available during the transition
    29. Involve the users
    30. Build confidence
    31. Conserve familiarity
    32. Migrate incrementally
    33. Prototype the target solution
    34. Throw-away vs. evolutionary prototypes
    35. Always have a running version
    36. Test after every change
    37. Use the profiler before optimizing
    38. Data needs to be preserved and available
    39. :Legacy System :Legacy Storage
    40. :Legacy System :New System :Legacy Storage :New Storage
    41. :Legacy System :New System :Bridge :Legacy Storage :New Storage
    42. :Legacy System :New System :Bridge :Legacy Storage :New Storage
    43. e new town a bridg e to th Make :Legacy System :New System :Bridge :Legacy Storage :New Storage
    44. Present the right interface
    45. Public vs. published interface
    46. Component service()
    47. Component service() replacingService()
    48. te inte rfaces te obs ole De preca Component service() replacingService()
    49. te inte rfaces te obs ole De preca Component service() replacingService()
    50. Component replacingService()
    51. ange? on-breaking ch or n reaking Is it a b Component service() replacingService()
    52. o refac torings nges are due t eaking API cha 80% of br Component service() replacingService() 6 n son 200 Dig, Joh
    53. Client, v1 Component, v1
    54. Client, v1 Component, v1 Component, v2 store changes
    55. replay changes Client, v1 Client, v2 Component, v1 Component, v2 store changes 7 Dig etal 200 e tal 2007 Denker
    56. Don’t jump. Walk with little tested steps
    57. Tudor Gîrba www.tudorgirba.com creativecommons.org/licenses/by/3.0/

    + Tudor GirbaTudor Girba, 11 months ago

    custom

    701 views, 0 favs, 1 embeds more stats

    I used this set of slides for a lecture I gave at t more

    More info about this document

    CC Attribution License

    Go to text version

    • Total Views 701
      • 674 on SlideShare
      • 27 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 9
    Most viewed embeds
    • 27 views on http://scglectures.unibe.ch

    more

    All embeds
    • 27 views on http://scglectures.unibe.ch

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories