CARVIEW |
Select Language
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Mon, 29 Jul 2024 17:43:22 GMT
access-control-allow-origin: *
etag: W/"66a7d4ba-2d20"
expires: Thu, 09 Oct 2025 20:07:36 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: 4BA5:DCEA1:CE4D3:EA843:68E813B0
accept-ranges: bytes
age: 0
date: Thu, 09 Oct 2025 19:57:36 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210066-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1760039856.480746,VS0,VE288
vary: Accept-Encoding
x-fastly-request-id: 50d6a40aed80cca0fe7dfd520ecefd48efa5695c
content-length: 3348
Karma - Contributing
Heads Up! You're viewing the docs for v0.10, an old version of Karma.
v6.4 is the newest.
Contributing
If you are thinking about making Karma better, or you just want to hack on it, that’s great! Here are some tips to get you started.
Getting Started #
- Make sure you have a GitHub account
- Submit a ticket for your issue, assuming one does not
already exist.
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
- Fork the repository on GitHub
Making Changes #
- Clone your fork
$ git clone git@github.com:<your-username>/karma.git
- Init your workspace
$ ./scripts/init-dev-env.js
- Checkout a new branch (usually based on
master
) and name it accordingly to what you intend to do- Features get the prefix
feature-
- Bug fixes get the prefix
fix-
- Improvements to the documentation get the prefix
docs-
- Features get the prefix
Testing and Building #
Run the tests via
# All tests
$ grunt test
$ grunt test:unit
$ grunt test:e2e
$ grunt test:client
Lint the files via
$ grunt lint
Build the project via
$ grunt build
The default task, just calling grunt
will run build lint test
.
If grunt fails, make sure grunt-0.4x is installed: https://github.com/gruntjs/grunt/wiki/Getting-started.
Submitting Changes #
- One branch per feature/fix
- Follow https://nodeguide.com/style.html (with exception of 100 characters per line)
- Please follow commit message conventions.
- Send a pull request to the
master
branch.
Contributor License Agreement #
Please sign our Contributor License Agreement (CLA) before sending pull requests. For any code changes to be accepted, the CLA must be signed. It's a quick process, we promise!
- For individuals we have a simple click-through form.
- For corporations we'll need you to print, sign and one of scan+email, fax or mail the form.