O'Reilly logo

Extreme Programming Adventures in C# by Ron Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. File Save and Load

If this program is to be of any use to anyone, it needs to be able to save and load files. That shouldn’t be too hard, except that this morning I haven’t any idea about how we can do it. Let’s find out what we know and what we can do.

First the Functionality

As requested by the customer, it’s time to implement File menu items, Save and Load, for the XML Notepad. I’m tempted to start with the menu, but I know that if I do it may be hard to focus my attention on the tests that I should write for the functional part of the save and load. I know that once I get programming, it’s hard to turn back to tests, and so my best bet is to start with tests.

A long time ago, I wrote a few file-oriented tests, just to learn how files ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required