Fernando Alonso will take part in the post Bahrain Grand Prix test with McLaren next week.
The two-time world champion left the sport last year after four difficult seasons with McLaren but stayed on with the Woking team for 2019 in an advisory role.
McLaren previously announced that as part of his role Alonso would test their 2019 car at some point in the year to help develop their 2020 car.
The Spaniard will take part in both days of testing, driving a second car for McLaren with his test solely focused on working with Pirelli.
Alonso will run for the full day on Tuesday and will split driving duties with compatriot Carlos Sainz on Wednesday.
With Lando Norris driving for the team on Tuesday, McLaren meet their young driver obligations. The criteria for a young driver is someone who has not competed in more than 2 Grand Prix at the time of the test.
This means Fernando Alonso would have the opportunity to test for Mclaren later in the year.
Ferrari also announced that Mick Schumacher will test with them for one day and the young German will then switch to Alfa Romeo for the second.
Dan Ticktum will take part in the second day of testing for Red Bull while Haas have announced that Pietro Fittipaldi will split testing duties with Romain Grosjean.