Testing means some sacrifices.
The developer should not be too 'brown' visually as a concentrate. It starts out colour wise a bit like weak tea, and moves as it ages to old coffee.
Fix is the next to check. Are there yellowish deposuts on the bottom of the bottle? It does 'sulfate out' with time. It can still work if there has been mild deposits, but why risk it.
The developer is still viable on a gross level if at the specified working dilution, a piece of paper taken out of the box/bag while in the dark, and then exposed to room light/day light (store the openned box properly first!) and then plunked into the tray of developer. It should go to a very deep black in under a minute.
The paper testing is easier if you have a step wedge, or print projection scale. If it is really old it may show a slight greying after proper exposure and development enven where it got no exposure to light. This is fogging. It gets worse with longer developemnt time, so get used to developing to 2' and then move to rinse/stop, then fix.
The paper is multigrade, and I trust you know that this means that different colurs of light while being exposed will result in it either producing a hard or soft image. Details of what it takes to do this are included in a paper flyer found in almost every ilford product they have ever sold. Read it at least once. There is a lot of information in there.
Usually multigrade paper as it ages stops producing as hard of an image as it was once possible of, and it may take more magenta filtered light to get even a normal contrast grade. Using a step wedge it is possible to test by counting the number of steps and then multiplying by the density of each step to figure out what the contrast range produced at a given filter setting is achived at a time. The paper likely will last longer frozen; put the un-openned boxes into a freezer to slow the deteriration down.
I have discussed testing old paper in past posts that I have made. Do a search on my posts to try to hunt them up. I buy and use expired materials all the time. Anyone can make nice images with new materials; getting the look you want out of long expired stuff in my book makes it that much more fun.