Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ information on using pull requests.

## Testing

### Unit Tests

All pull requests should have an associated test to ensure foward compatibility.

To run an individual test, you can run a command such as the following:
Expand All @@ -32,6 +34,23 @@ To run an individual test, you can run a command such as the following:
npm run test -- -g 'loading function'
```

### Manual Testing

When developing a feature locally, you can install a local version of the Functions Framework
using `npm link`. First compile your local clone of the Functions Framework:

```
npm compile
```

Then link the Functions Framework using `npm link`.

```
npm link
```

You can then run the Functions Framework locally using `functions-framework`.

## Community Guidelines

This project follows [Google's Open Source Community
Expand Down