Imagine we have framework (any tool or language, BDD, Non-BDD) that both QA and Dev teams are using. Dev team would be writing and executing Unit Test cases and QA Team will be writing functional, Regression, Smoke Tests and executing them.
Questions is now how different their test cases would be? E.g. There is one functionality "User is able to change profile picture".
What would be Dev's automated unit tests and what would be QA's automated functional tests?
Why I am asking because we want no team should spend different time/effort on same thing. Even if QA team is writing both Unit and Functional tests they know the difference and assign Dev team to execute them.