How Cucumber is different from JUnit?
BDD (Behavior Driven Development) may be done with Cucumber. Cucumber may alternatively be thought of as a DSL for a Functional Use Case Document. JUnit, on the other hand, is a Java technique that is used for unit testing. So, Cucumber, an usage may be anything from a unit test (rarely) to an integration test or a full system test. Only unit tests will be performed.