Test your typing speed at monkeytype.

And these TUIs are good:

The latter has a number of programming languages included too.

gtypist is best for practicing a wide variety of movements by means of well organized tutorials.

There's also keybr.com which seems to be in the same spirit but adapts its exercises based on mistakes and performance.