It is permissible to cook whilst fasting
Question

Is it permisable to cook while fasting?
Praise be to Allah.It is permissible to cook whilst fasting. 
“It is OK for a person to taste the food during the day whilst fasting, if necessary, and his fast is still valid so long as he does not deliberately swallow anything of it.”.