Question: what is the difference between junit and selenium?
Answer: Selenium is a tool that remote-controls a browser. You can use it to simulate a user interacting with a web site. JUnit is a framework for writing Java unit tests. ... JUnit will run the tests for you and report which tests passed and which failed.