Skip to content

test-editor/web-testexec-details

Repository files navigation

web-testexec-details

NPM version Build Status

Test-Editor test execution details gui angular component

TestExecDetails

This project was generated with Angular CLI version 1.7.4.

Setup development

Make sure to have a working nix installation. Please ensure that the nixpkgs-unstable channel is available. It can be added with nix-channel --add https://nixos.org/channels/nixpkgs-unstable.

To enter the development environment, execute NIXPKGS_ALLOW_UNFREE=1 nix-shell in this repos root directory. For even more convenience, please install direnv which will enter the development environment automatically for you.

Once within the development environment and a working installation of node, npm and yarn, run yarn install to resolve all necessary dependencies.

Development server

Run npm run start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run npm run test or npm run test:once to execute the unit tests via Karma.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor.

Running the linter

Run npm run lint to execute the linter for the project.

Packaging as library

Run npm run packagr to bundle the library into the dist folder via ng-packagr

Publishing the library

Run npm publish dist (given that you are logged in via npm login).

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README. Description of angular library packaging go here