Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6815045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:45:37+00:00 2026-05-26T20:45:37+00:00

I’ve got a legacy system that processes extremely complex data that’s changing every second.

  • 0

I’ve got a legacy system that processes extremely complex data that’s changing every second. The modularity of the system is quite poor so I can’t split the business logic into smaller modules to ease functional testing.

The actual test system is: “close your eyes click and pray“, which is not acceptable at all. I want to be confident on the changes we commit on the code.

What are the test good practices, the bibles to read, the changes to operate, to increase confidence in such a system.

The question is not about unit testing, the system wasn’t designed for that and it takes too much time to decouple, mock and stub all the dependencies and most of all, we sadly don’t have the time and budget for that. I don’t want to a philosophic debate about functional testing: I want facts that work in real life.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:45:37+00:00Added an answer on May 26, 2026 at 8:45 pm

    It sounds like you have yourself a black box as regards testing.

    http://en.wikipedia.org/wiki/Black-box_testing

    To put it simply, it’s horrible, but may be all you can do if you can’t isolate the system in any way.

    You need to insert known data into your system and compare the result with the known output.
    You really need known data & output for

    normal values – normal data – you’ll find out that it can at least seem to do the right thing

    erroneous values – spelling errors, invalid values – so you know that it will tell you if the input is rubbish

    out of range – -1 on signed integers, values greater than 2.7 billion (assuming 32bit), and so on – so you know it won’t crash out on seriously mis-inputted or corrupted data

    dangerous – input that would break the SQL, simulate SQL injection

    Lastly make sure that all errors are being carefully handled rather than getting logged and the bad/corrupt/null value getting passed on through the system.

    Any processes you can isolate and test that way will make debugging easier, as black box testing can’t tell you where the error occurred. This means then you need to diagnose the errors based on what happened, more in the style of House MD than a normal debugging session.

    Once you have the different data types listed above, you can test all changes in isolation with them, and then in the system as a whole. Over time as you eventually touch most aspect of the system, you’ll have test cases for all areas, and be able to say where failure was most likely to have occurred more easily.

    Also: make sure you put tracers in your known data so you don’t accidentally indicate a stockmarket crash when you’re testing the range limits on a module, so you can take it out of the result flow before it ends up on a CEO’s desk.

    I hope that’s some help

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
i got an object with contents of html markup in it, for example: string
I need a function that will clean a strings' special characters. I do NOT
I want to construct a data frame in an Rcpp function, but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.