We use the futurę perfect continuous: to emphasise the duration of an action up to a certain time in the futurę.
By the end of next month, she will have been teaching for twenty years.