Testing frameworks and tools for angular + node stack
A good overview of the existing testing and automation frameworks:
-
https://transcenda.com/testing/technical-approaches-and-frameworks-for-end-to-end-testing-of-web-apps/
-
https://sahil-goyal2.medium.com/comparison-between-selenium-protractor-cypress-and-webdriverio-7786fc90ee09
-
https://www.rainerhahnekamp.com/en/angular-e2e-testing-protractor-is-dead-long-live-cypress/
- Protractor starter
https://www.protractortest.org/#/frameworks
##
Selecting cypress:
https://www.cypress.io/features/
https://docs.cypress.io/guides/overview/why-cypress
So let's hope we don't need multiple tabs / browsers any time soon.
But like the versatility of the assertions:
https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests#Dynamically-Generate-Tests
- so that tests read better
Also aliases,
better structure to get access to work product of async cypress commands.
https://docs.cypress.io/guides/core-concepts/variables-and-aliases
Good general bunch of best practices listed out:
https://docs.cypress.io/guides/references/best-practices
##
Codeless platforms also look interesting. But I am pretty sure that we will run out of room soon for the things we need to test.
For BDD
several choices:
chai
jasmine
https://jasmine.github.io/index.html
mocha
https://mochajs.org/
cucumber
serenity
For browser interaction:
https://webdriver.io/docs/what-is-webdriverio
https://www.selenium.dev/documentation/webdriver/
https://playwright.dev/
- new kid on the block
puppeteer
Selenium + javascript
- this was too tempting
karma-js
https://karma-runner.github.io/latest/index.html
serenity
https://serenity-js.org/handbook/why-serenityjs.html
https://serenity-js.org/handbook/integration/architecture.html
what I really wanted was - serenity + cypress
https://github.com/serenity-js/serenity-js/issues/846
may be the path to above integration is:
https://docs.cypress.io/guides/tooling/reporters#Examples
For a react native app -
Detox: (picked off the test cases of a file upload plugin we are using)
https://github.com/wix/Detox/blob/master/docs/Introduction.HowDetoxWorks.md

Comments
Post a Comment