Let's say I've got test methods A, B, C. When I launch them all, test method B throws SQLiteException and everything is green and ok.
Assert.Throws<SQLiteException>(() => sql.Select(selectFrom + "table_name"));
But, when I'm launching ONLY test method B it throws ArgumentException BEFORE SQLiteException and test fails.
The question is: how to assert that one OR the other exception is thrown?
I'm talking about something like this
Assert.Throws<SQLiteException>(() => sql.Select(selectFrom + "table_name")).OR.Throws<ArgumentException>()