Constant stirring isn't needed
I've heard people swear that you have to stir the risotto in the same direction without stopping or it will be ruined, and that constant stirring releases more of the rice's starch. I've found neither to be true. In fact, risotto doesn't need constant attention during its twenty-minute cooking time. You'll just need to check on the pan every few minutes, give the rice a stir to keep it from sticking, and add more stock.
To test for doneness, take a bite. When the rice is cooked, it will have just about doubled in volume. Each grain will be plumped but not broken open. Take one grain and bite it in half; it should be chewy and resilient. Look at the other half. If there's a tiny white pin-dot in the very center of the grain, it means that the risotto has the proper al dente quality.
Use a "shake test" to check for proper consistency. The other trick to checking risotto for doneness is making sure that it isn't too soupy or too porridgy. There are two schools of taste here: some prefer a looser, liquidy risotto; I like a thicker one.
After the risotto is cooked, you stir in more butter (if the recipe calls for it) and Parmigiano-Reggiano, taste for seasoning, and if you like, you can add more salt and a touch more stock.
To test the consistency, spoon a little into a bowl and shake it lightly from side to side. The risotto should spread out very gently of its own accord. If the rice just stands still, it's too dry, so add a little more stock. If a puddle of liquid forms around the rice, you've added too much stock. Spoon some liquid off, or just let the risotto sit for a few more seconds off the heat to absorb the excess stock.
While constant stirring is unnecessary, a vigorous stir at the end helps release the starch in the rice that makes risotto creamy.
Finally, swirl in any additional flavorings. A spinach and herb pesto gives this risotto a fresh flavor and a beautiful color.