How do spells affect skill leveling?

Solution 1:

As you noticed, Destruction is pretty straightforward. Each cast and while continued casting, you will increase skill, but this has a caveat: only if you are attacking someone. If you're fizzling your spell in the middle of town, it's not going to increase it.

Alchemy is also straightforward: each potion created will increase your skill. As dpatchery notes, eating ingredients for effect determination will also increase your skill by a small amount.

With Enchanting, each enchant (or disenchant, as LessPop_MoreFizz notes) as will increase skill. dpatchery also notes that you can increase your skill by recharging items with soul gems.

Restoration, namely the healing spells, only increase skill if your health is below its maximum. The others only work if you're in combat or near hostile enemies: this includes spells like Steadfast Ward.

For summoning spells (essentially most things in the Conjuration school), you won't get a skill up for the summon until you enter the range of hostile mobs and, in the case of summoned creatures (like the Atronach and the Familiar), they do some damage. With bound weapons, entering range of hostile mobs is all that's necessary to gain Conjuration skill; however, using them in combat will increase their appropriate weapon skill, not Conjuration.

Alteration and Illusion spells that are targeted towards messing with hostile mobs need hostile mobs within range to skill up. Buffs, like Oakflesh, don't increase skill without hostility as well. Others, like Candlelight and Muffle, are recastable without hostility but only increase skill by a small amount.

Solution 2:

Yep, you can use the spell 'Muffle' to level up your magic just by walking around. Just cast it and walk around, and it'll increase your level and give you some exp!

Could be considered an exploit though.


Quick Experience and Illusion Skill Gain

While most spells require you to actively use them in combat situations or on specific objects to progress, there is at least one spell that doesn't: Muffle. Muffle is an Illusion spell that quiets your movements. Continually casting Muffle while you're walking around the land will not only boost your Illusion skill, but will also increase your overall experience. http://uk.ign.com/cheats/games/the-elder-scrolls-v-skyrim-xbox-360-14267318