In this paper, a simple integrated model for the joint assessment of epidemic and economic dynamics is developed. The model can be used to discuss mitigation policies like shutdown and testing. Since epidemics cause output losses due to a reduced labor force, temporarily reducing economic activity in order to prevent future losses can be welfare enhancing. Mitigation policies help to keep the number of people requiring intensive medical care below the capacity of the health system. The optimal policy is a mixture of temporary partial shutdown and intensive testing and isolation of infectious persons for an extended period of time.