Question: Similarly to a recent [question](https://opendata.stackexchange.com/questions/16244/dataset-on-coronavirus-government-countermeasures-per-country-region-city) on lockdowns, wonder if there is a machine-readable dataset of covid-19 testing per country/state/region. Testing rate largely affects the official number of infected, and thus of apparent fatality (Case Fatality Ratio). This data would be needed to explain mortality differences between region/nations.

Answer: 
OurWorldInDate site (that has excellent coverage of data around the pandemic) has asked the question two weeks ago

<https://ourworldindata.org/covid-testing>

and now provide an answer:

<https://github.com/owid/covid-19-data/tree/master/public/data/testing>
Data for Italy:
<https://github.com/pcm-dpc/COVID-19/tree/master/dati-andamento-nazionale>

You just need the file: dpc-covid19-ita-andamento-nazionale.csv

It is updated every day in the evening (gmt+1)