Spanish Testament is a 1937 book by Arthur Koestler, describing his experiences during the Spanish Civil War. Part II of the book was subsequently published on its own, with minor modifications, under the title Dialogue with Death (see below). Koestler made three trips to Spain during the civil war; the third time he was captured, sentenced to death and imprisoned by the Nationalist forces of General Franco. Koestler was at that time working on behalf of the Comintern and as an agent of the Loyalist Government's official news agency, using for cover accreditation to the British daily News Chronicle.