As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [legacy-system]

Legacy code can mean a number of related things, the most common of which are code inherited from someone else; code from a previous version of the application; code that is deprecated or outdated; or code that is untested. Many legacy systems meet all these criteria, and legacy code typically requires a different, more delicate approach than new code.

Filter by
Sorted by
Tagged with
1 vote
1 answer

Are Characterization (Golden Master/Snapshot) tests supposed to be human readable?

I am trying to write characterization tests, in order to quickly put a legacy system to a test harness. I was not able to find many examples with production code. The examples I find are small ...
Eric's user avatar
  • 205
7 votes
2 answers

How to Reduce the Technical Debt of 1000 manual test cases?

I want my team to move away from manual testing as much as possible. As part of that I want us to automate around 1000 manual test cases. Some of these tests are for legacy features, which don't even ...
Ana's user avatar
  • 71
7 votes
3 answers

How to measure progress when automating a legacy project?

I am working on a project to retrofit "automation" to a legacy project, it's a tricky beast, people just want to know what the progress is on it. Is there any real way to measure automation progress, ...
Michael Durrant's user avatar
2 votes
1 answer

What's the 'workflow' for writing tests for existing code with zero tests?

When I search for info on testing, all I seem to find is TDD/BDD workflow: Write a test for a basic functionality Run and watch if fail Implement Run tests again Fix code if needed Rinse/repeat ...
Tuma's user avatar
  • 123
3 votes
1 answer

Challenges of begining test driven development with legacy codebase [duplicate]

I am beginning development on a legacy codebase and adding new functionality. The legacy codebase has no tests defined at all, and I dont have full control over it. I want to use TDD to help ensure ...
Mick L's user avatar
  • 31
2 votes
1 answer

How can I export test cases in HP ALM to be re-imported into another ALM project?

I've been put on a new project, which has some legacy test cases, these test cases exist in ALM. I would like to export certain sections of this test plan for usage in the new project, which again ...
shicky's user avatar
  • 153
0 votes
2 answers

Can anyone recommend a tool for integration tests for multi-machine system?

I've inherited a collection of desktop applications that currently have (for all intents) no automated test coverage. Generally speaking, these applications are typically deployed as a suite, ...
Patrick Quirk's user avatar
7 votes
2 answers

Are there some well known pitfalls to avoid when starting with unit testing on a "legacy" web application?

I am participating on the development of the web application which has several years of history behind it and there never was enough value and effort put on refactoring, so considerable part of the ...
famousgarkin's user avatar
16 votes
5 answers

In TDD, do tests need to be automated?

My manager's manager (... and his manager, and everyone else who wears a suit) at my firm is talking about how we really need to transition to TDD because it's better than what we're doing now. ...
corsiKa's user avatar
  • 7,102
16 votes
5 answers

If I didn't use TDD but want to transition to agile, should I go back and create those unit tests?

In an transitioning agile environment, if there was no Test Driven Development (no unit tests created), should you create unit tests to catch up on technical debt? and to what extent? Should ...
Jason M's user avatar
  • 535
32 votes
4 answers

Developing Unit Tests While Refactoring Legacy Code?

I have a big code library that I need to refactor in order for it to fit more nicely together (one big problem is there aren't clear enough boundaries between each component). Since there will be ...
sooprise's user avatar
  • 633
142 votes
13 answers

1.5 Million lines of code. 0 tests. Where should we start?

I'm a Java developer by trade. I was 'brought-up' in what you could call best practices. Then I took my current job. I had a choice between the Java/SOA team, and the ERP team. I was told that joining ...
corsiKa's user avatar
  • 7,102