Skip to main content
added 119 characters in body
Source Link

TL;DR: Selenium is just to slow, compared to for example KarmaKarma.


I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results.

Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it fastfaster with for example Karma and plain JavaScript.

Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them.

For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast.

UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.

TL;DR: Selenium is just to slow, compared to for example Karma.


I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running JavaScript in the browser and using the JavaScript API to get back the results.

Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it fast with for example Karma.

Jasmine and qUnit are more test runners than tools to verify the DOM. You can also build Selenium tests with them.

For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast.

UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.

TL;DR: Selenium is just to slow, compared to for example Karma.


I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running plain JavaScript in the browser and using the plain JavaScript API to get back the results.

Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it faster with for example Karma and plain JavaScript.

Jasmine and qUnit are more alternative test runners than tools to verify the DOM. You can also build Selenium or Karma tests with them.

For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast.

UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.

Source Link

TL;DR: Selenium is just to slow, compared to for example Karma.


I guess most UI Frameworks manipulate the DOM. So verifying that the manipulation was correct is also done in the DOM. Most UI Frameworks seem to use Karma for cross-browser testing the DOM. By running JavaScript in the browser and using the JavaScript API to get back the results.

Checking all the functionality with Selenium would be slow, hard to maintain and unnecessary as you can test it fast with for example Karma.

Jasmine and qUnit are more test runners than tools to verify the DOM. You can also build Selenium tests with them.

For building UI Frameworks I would expect you need something to run-tests against an actual DOM and check it does what you expect, preferable cross all supported browsers and bloody fast.

UI Frameworks are building blocks for building web-based workflows. Testing the building blocks is relatively easy with the browser JavaScript API. Where testing full workflows is not, here Selenium would be better suited.