Upvote:2
The rules are changing daily, sometimes even hourly. As such it is not very useful to present here what the rules are at the moment this answer is being written. They may be different tomorrow.
So the best thing to do is head over to the official Swiss Government Travelcheck website. You can find that here:
https://travelcheck.admin.ch/home
On this site you just answer a few questions, and will get an answer as to which regulations govern your entry at the moment.
Upvote:2
Entering your information into https://travelcheck.admin.ch/home, either with
Searching the pages reachable from the first "read more" link of this result page leads to the exemption of the second test and possible quarantine requirements laid out here in Art. 8f: "persons who enter Switzerland for the purpose of transiting the country and who intend and are able to travel on directly to another country;"
So you need a test for entry and have to register. But it seems to be possible at the moment.