How to Test an Op-Amp.

The other day I bought an operational amplifier (op-amp) in a shop for $1.5, came home, soldered it in, and silence. I had no doubt that the op-amp was to blame for the circuit not working, so I desoldered it and decided to test it. I connected the inverting input to the output, applied power and a voltage to the non-inverting input (1V); a working op-amp should output what I applied to its input, and that is essentially what testing an op-amp consists of, but I got zero at the output.
How to Test an Op-Amp.

Interesting, I thought then: either I overheated it when soldering, which is unlikely, or I bought a faulty one. I went back to the shop, bought another one, but decided to test it before soldering it in, and lo and behold, this one was faulty too, but at least now I could return it to the seller; apparently he had a whole batch of them...

But I had no time to sort it out, so I went to another shop and bought the same op-amp, but this time for $4, and we agreed that if it didn't work I'd bring it back. I came home, tested it: it works; soldered it in: it works. The conclusion: after buying a part, it's advisable to test it before soldering it in, and the seller most likely ordered a batch of these op-amps from China and didn't test them when he received them, which is understandable: when you have a whole shop of electronic components, you'd get tired of testing everything.

Why am I writing all this? After that I looked for these op-amps on AliExpress, and when I found them I was pleasantly surprised: for the money I spent in my city to buy a working op-amp ($4), I could buy 5 of them in China, but they were in a soic8 package, and given the negative experience described above, of course I wanted to test them when they arrived. This could be solved in several ways: etch a test board into which the op-amp could be soldered each time, or, to avoid soldering, simply press the op-amp against the board with a clothespin, which is better; but there's an even more interesting option: since I often deal with soic8, I decided to look for a ZIF soic8 – dip8 adapter, so I could build the circuit on a breadboard, which would greatly speed up the process.
How to Test an Op-Amp.

How to Test an Op-Amp.

In the end I found such an adapter on AliExpress for $1.7 including shipping. When the op-amps arrived, I already had the adapter, and since I have a signal generator, I tested them using the circuit from the datasheet.
How to Test an Op-Amp.

Interestingly, all the ordered op-amps turned out to be working.
soic8 - dip8 ZIF adapter