The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

verket (34) [Avatar] Offline
#1
the chapter "Avoid this: making up your own data" got me thinking...
What if we use the live data of our legacy system as examples of what works?
- write down what you think is the way it works
- run all the live data through your test scenario
- when tests fail, it means you forgot something, and you need to refine the examples

We could create living documentation for legacy systems this way, couldn't we?
(If we ever find someone that has nothing better to do, that is...)
gojko.adzic (18) [Avatar] Offline
#2
Re: Use live data to create examples on legacy systems?
you can create regression tests, I doubt it would be good documentation. "try old data and see if it changes" is a common way of doing regression tests on legacy systems.