/dechat_es4a

Dechat ES4A

Primary LanguageHTMLMIT LicenseMIT

dechat_es4a

Build Status Codecov Codacy code quality

Build documentation

The documentation is done in AsciiDoc using the arc42 templates. The source documents are located at src/docs.

Using Maven and the AsciiDoctor plugin it is possible to generate the documentation running:

mvn generate-resources

Compile and run

The skeleton project is a simple https://angular.io/ [Angular] application which can be run as:

 npm install
 ng serve --open

Once executed, the application should be available at: http://localhost:4200

Deployment

To be deployed in github pages, you need to do the following commands:

 npm i -g angular-cli-pages
 ng build --prod --base-href "https://arquisoft.github.io/dechat_es4a/"
 angular-cli-ghpages

Testing

There are some test implemented at our app with the extension .ts. We have 2 files to run the test: https://github.com/Arquisoft/dechat_es4a/tree/master/dechat/e2e [e2e] https://github.com/Arquisoft/dechat_es4a/blob/master/dechat/src/test.ts [test.ts]

To run tests execute:

ng -e2e or ng test

Testing Cucumber

To pass the cucumber test, follow these instructions:

ng e2e

Scenarios are available in features.

Site documentation

The pom.xml file has also been configured to generate site project documentation running:

mvn site

Contributors