How did I test positive for chlamydia when my boyfriend tested negative? How accurate are tests?

Maybe not from him. You could have chlamydia from a different partner and may not have transmitted it to your current boyfriend yet. He may have had a false negative. Did you see his actual test results? Some say they are negative but never actually went to the doctor.