Student or Learner
"How long have you been with your partner before you considered being married?"
Could this sentence have been said by a native speaker?
It's very unlikely. We'd say 'had you been' or 'were you'. We'd also probaby say 'getting married' rather than 'being married'.