The course project for COMP3111H Honors Software Engineering.
Install git: http://git-scm.com/.
Install node.js and npm: http://nodejs.org/. Commands to test the installation:
git --version node -v npm -v
Clone the project
Please clone the repository at GitHub using
git clone command:
git clone https://github.com/hkpeterpeter/teamform-seed cd teamform-seed
In this course project, fixed version of key libraries (e.g. AngularJS 1.5.7) are included in
app/lib folder to avoid discreprency. Other development dependencies (e.g. karma toolkit, http-server...) will be installed separately via:
After running this command, a new folder will be created:
node_modules- It contains the npm packages for the necessary tools we need to build and test our web application
Run the Application
We have preconfigured the project via a configuration file
package.json. The simplest way to start this web application is:
After that, open a web browser (Google chrome desktop/mobile web browser is recommended) with the following URL:
Running Unit Tests
We provide a Karma configuration file to run them.
- the configuration is found at
- all unit test cases should be written inside the folder
The easiest way to run the unit tests is to use the supplied npm script:
This script will start the Karma test runner to execute the unit tests.
In this course, we will mainly focus on the branch and statement coverage.
The output files will be stored inside the