Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Looks like you have all you need. Theory of how to test. Circuit diagrams. Source code.
The transistor test is, as expected, just 2x the diode test on each bipolar transistor junction. The diode test is just continuity testing in each direction. Continuity testing is applying a voltage and...
I'm not going design it for you but if you need help, answer the following yourself - they are the essential first questions to figure out.
1. What are the tests requires to accomplish these functions? How do you "know" when these devices are good or bad?
Hint: Multimeter test for diodes and...
Cheap and easy solution: buy a cheap DMM that has these functions built-in. Typical cost: US$ 20-50 at most.
If you need it commercially, I can sell you something for production test that does this. Not for free, naturally.