CSC 486 · Systems Analysis And Design
Our notes
2 min readTesting levels
- Unit testing: each module alone.
- Integration testing: modules together (do they pass data correctly?).
- System testing: the whole system against the requirements, including performance, security, load ("can it take 10,000 students registering on the last day?").
- User acceptance testing (UAT): users test with real tasks and sign off. Alpha testing at the developer's site; beta at users' sites.
Testing approaches
- Black-box: test inputs and outputs against the specification without looking at the code.
- White-box (glass-box): test paths and branches inside the code.
- Regression testing: retest after changes to check nothing else broke.
- Test data: normal, boundary (extreme) and erroneous (invalid) data, with expected results written before running.
| Test | Input | Expected |
|---|---|---|
| Normal | 18 units | saved |
| Boundary | 24 units | saved |
| Boundary | 25 units | rejected: "maximum is 24" |
| Erroneous | "abc" units | rejected: "enter a number" |
Implementation activities
- Site preparation and installation of hardware, network and software.
- User training: manuals, hands-on sessions, train-the-trainer, help desk, short videos.
- Data conversion: move existing records into the new system (typing, scanning, import scripts); clean data first; verify totals after conversion.
- Documentation handed over.
Changeover (conversion) methods
| Method | How | Pros | Cons |
|---|---|---|---|
| Direct (plunge) | old system stops, new starts on a set date | cheapest, quick | highest risk: if the new system fails there is no fallback |
| Parallel running | old and new run together until the new is trusted; results compared | safest; results can be checked | most costly; double work for staff |
| Phased | new system introduced in stages (module by module) | lower risk, staff learn gradually | slow; old and new must work together |
| Pilot | whole system tried in one part first (one faculty), then everywhere | problems found on a small scale | that part bears the risk; takes time |
Parallel runs are usual for payroll and accounts, where errors are costly: the outputs of both systems are compared for, say, two pay cycles.
Choosing a method
Consider risk, cost, staff workload, how different the systems are, and whether the old system can still run.
Managing change
People resist new systems (fear of job loss, new skills, loss of control). Reduce it by involving users early, communicating benefits, training well and giving support after go-live.
Exams usually ask: levels of testing; black-box vs white-box; design test data for a field; implementation activities; compare the four changeover methods with examples; why parallel runs are used.
Common mistake: calling parallel running "phased". Parallel means both whole systems run at once; phased means the new one comes in piece by piece.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Software testing
(opens en.wikipedia.org in a new tab)
Wikipedia, Software testing, CC BY-SA 4.0 · licence
-
Introduction to Computer Science, 9.2 Software Engineering Process
(opens openstax.org in a new tab)
OpenStax, Introduction to Computer Science, 9.2 Software Engineering Process, CC BY-NC-SA 4.0 · licence
-
Acceptance testing
(opens en.wikipedia.org in a new tab)
Wikipedia, Acceptance testing, CC BY-SA 4.0 · licence
-
Unit testing
(opens en.wikipedia.org in a new tab)
Wikipedia, Unit testing, CC BY-SA 4.0 · licence
Watch
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.