Skip to content

Contributing code

Simeon Nenov edited this page Nov 8, 2016 · 1 revision

Clone the repository

If you are using SSH:

git clone git@github.com:ssnenov/Html2Amp.git

If you don't have SSH:

git clone https://github.com/ssnenov/Html2Amp.git

Building the solution

TBA

Writing code

TBA

Style guide

TBA

Running tests

Before every commit you have to run all unit tests and before every push/merge request to the remote you have to run all integration tests.

Running unit tests

TBA

Running integration tests

In order to run the integration tests you need to install a node.js module to verify the correctness of produced AMP html. You can find the module distributed as npm package.

Steps to install the module:

  • Go to the root directory of the repository
  • Run command prompt in the same directory
  • Type npm install amphtml-validator

Now you just need to run all tests under Html2Amp.IntegrationTests project.

Home

Builds


Reporting bugs

Suggesting features

Contributing code

Clone this wiki locally