Karma vs Selenium: What are the differences?
Karma and Selenium can be categorized as "Browser Testing" tools.
"Test Runner" is the primary reason why developers consider Karma over the competitors, whereas "Automates browsers" was stated as the key factor in picking Selenium.
Karma and Selenium are both open source tools. It seems that Selenium with 14.9K GitHub stars and 4.97K forks on GitHub has more adoption than Karma with 10.7K GitHub stars and 1.61K GitHub forks.
According to the StackShare community, Selenium has a broader approval, being mentioned in 776 company stacks & 440 developers stacks; compared to Karma, which is listed in 119 company stacks and 57 developer stacks.
What is Karma?
What is Selenium?
Want advice about which of these to choose?Ask the StackShare community!
What are the cons of using Karma?
What are the cons of using Selenium?
What tools integrate with Selenium?
가장 강력한 웹 UI / UX 테스트 툴 이지만, 문제도 많다. iframe 안에 있는 건 잘 select 가 안되기도 하고, 화면이 작아 컴포넌트가 화면에 보이지 않으면 또 select 할 수 없다. 하지만 브라우저를 있는 그대로 제어 할 수 있다는 게 가장 큰 매력이다.
ps. selenide 와 같이 쓰면 코드가 많이 개선된다.
Maintaining and expanding automated regression tests is one of my primary responsibilities at CrowdTwist. We use Selenium to test the front-end parts of our platform.
Used Selenium web-driver for automated QA testing in continuous integration and continuous deployment.
- Navigating our site for tests
- Navigating other sites that discriminate against non-human visitors
Selenium is a great way to automatically test if a build is sane and can be deployed.
All services, directives and controllers from angular are tested using Karma.