gctools-outilsgc / gccollab-frontend

Angular frontend app for GCcollab
1 stars 1 forks source link
gccollab

Getting Started

Install Node at version 18.13.0.

Install the Angular CLI at version 17.0.0

npm install -g @angular/cli@17.0.0

Navigate to the project and Install the packages

npm install

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Contributing

All development should be done in branches that branch off main. Any new dev work should include unit tests that are in a passing state.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma. For more information see the official Angular documentation.

Running haibun end-to-end tests

GCcollab frontend incorporates Haibun's task-specific modules' integration for functionality and accessibility.

The following describes the testing procedure:

  1. Navigate to the directory: cd haibun-e2e-tests
  2. Install the packages: npm install
  3. Ensure http://localhost:4200/ is running.
  4. Run the tests: npm run test

Haibun e2e tests

E2E test reviews are available here