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 ...
Get Extreme Programming Adventures in C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.