Testator

Someone who has made a will. (The female version of this word is ‘Testatrix. ’)