Protractor
ng-packagr
Our great sponsors
Protractor | ng-packagr | |
---|---|---|
19 | 6 | |
8,757 | 1,836 | |
-0.1% | 0.1% | |
0.0 | 9.3 | |
11 months ago | 7 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Protractor
-
Introduction to Cypress and UI Test Automation
Cypress is a next-generation front-end Automation testing tool built for modern web applications. It is a JavaScript-based end-to-end testing framework and is known for faster test execution as compared with other testing tools (like Selenium or Protractor).
-
Overview over Angular’s repositories
Protractor repo (link)
-
Nx 14.5 - Cypess v10, Output globs, Linter perf, React Tailwind support
Protractor has been deprecated for a while on the Angular CLI side and given Nx has had Cypress support for a while it has never been a popular choice. Starting with this release we're deprecating the generator for setting up Protractor and we're planning on removing support entirely in Nx v15.
-
Angular CLI and Nx - Why?
In recent releases, the Angular CLI kept reducing its feature set, mainly due to tools such as Protractor as well as TSLint being deprecated. As a result, starting with Angular 14, the Angular CLI provides the following when generating a new application:
-
Help with automatization
The Protractor testing framework was created for e2e testing of Angular apps. https://www.protractortest.org/
- Unit testing library for Angular application
-
Protractor is dead, long live Cypress! - Part 1
Future of Angular E2E & Plans for Protractor · Issue #5502 · angular/protractor
-
Angular 12 in Depth
In April, the Angular team has announced plans to end the support of Protractor at the end of 2022.
-
Looking for some advise/direction on a new testing framework
"The Angular team plans to end development of Protractor at the end of 2022 (in conjunction with Angular v15)." - https://github.com/angular/protractor/issues/5502
-
What UI testing framework do you use and what do you like/dislike about it?
Angular will deprecate Protractor soon https://github.com/angular/protractor/issues/5502
ng-packagr
-
Adding scss assets to Angular library
Let’s add this folder, and all files in it, to the ng-package.json file of the library. You can find more information here about why we should declare this assets property.
- Are Secondary Entry Points for Libraries still a Good Idea?
-
How to split an Angular app into micro-frontend apps
Additionally, to create a new library for each piece you want to share, you could use the Secondary entrypoints feature of ng-packagr to group common things together, like components or services, and group them together by a more specific feature. But consider this will requires additional updates to the configuration.
-
Overview over Angular’s repositories
ng-packagr repo (link)
-
How to update a NodeJS TypeScript library for ESM-compliance?
Specifically for Angular, we have the Angular Package Format, which is produced by the CLI or by the standalone ng-packagr tool.
-
Relative import from lib's secondary entry point ❌ Error TS5055: Cannot write file X.d.ts because it would overwrite input file
ng-packgr will build the entry points in the following order:
What are some alternatives?
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
WebdriverIO - Next-gen browser and mobile automation test framework for Node.js
angular-cli - CLI tool for Angular
TestCafe - A Node.js tool to automate end-to-end web testing.
tsup - The simplest and fastest way to bundle your TypeScript libraries.
jest - Delightful JavaScript Testing.
ng-builders - Custom Angular CLI builders
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
ngx-nrwl-airlines-workspace - Nrwl Airlines workspace using Angular CLI
Nightmare - A high-level browser automation library.
ngx-unused-css - Angular unused css detection