Lampada, can you explain to us foreigners how a Тотальный диктант works?

It seems to me that in some ways it's sort of like the American custom of "spelling bees," but with complete texts instead...