Preprocessors in Karma allow you to do some work with your files before they get served to the browser. These are configured in the preprocessors block of the configuration file: preprocessors: { '**/*.coffee': ['coffee'], '**/*.tea': ['coffee'], '**/*.html': ['html2js'] }, Note: There are multiple expressions referencing the "coffee" preprocessor in this example, as a preprocessor can be listed m
Heads Up! You're viewing the docs for v0.8, an old version of Karma. v6.4 is the newest. Travis CI is a popular continuous integration service that integrates with your Github repository to automatically run your tests when code is pushed. Integration is done by adding a simple YAML file to your project root; Travis and Github take care of the rest. Travis results will appear in your Github pull r
Heads Up! You're viewing the docs for v0.8, an old version of Karma. v6.4 is the newest. Jenkins CI is one of the most popular continuous integration servers in the market today. At some point while developing your AngularJS project (hopefully early on), you might want to have automated tests run off your code versioning system. Jenkins will help you with this task. You can integrate Karma to your
On the AngularJS team, we rely on testing and we always seek better tools to make our life easier. That's why we created Karma - a test runner that fits all our needs. Introductory ScreencastThe spectacular quick start to Testacular. JS Everywhere 2012 ParisWatch Vojta Jína presenting Testacular at JS.everywhere. The main goal for Karma is to bring a productive testing environment to developers. T
6.4.3 (2024-02-24) # Bug Fixes # add build commits for patch release (d7f2d69) 6.4.2 (2023-04-21) # Bug Fixes # few typos (c6a4271) 6.4.1 (2022-09-19) # Bug Fixes # pass integrity value (63d86be) 6.4.0 (2022-06-14) # Features # support SRI verification of link tags (dc51a2e) support SRI verification of script tags (6a54b1c) 6.3.20 (2022-05-13) # Bug Fixes # prefer IPv4 addresses when resolving dom
Karma runs on Node.js and is available as an npm package. Installing Node.js # On Mac or Linux we recommend using NVM. On Windows, download Node.js from the official site or use the NVM PowerShell Module. Karma works on all LTS releases of Node.js. Installing Karma and plugins # The recommended approach is to install Karma (and all the plugins your project needs) locally in the project's directory
Capturing browsers on your own can be a tedious and time-consuming task. However, Karma can automate this for you. Simply add the browsers you would like to capture into the configuration file. browsers: ['Chrome'] Then, Karma will take care of auto-capturing these browsers, as well as killing them after the job is over. Available browser launchers # Chrome and Chrome Canary Firefox Safari Phantom
Most of the time, you will be using Karma directly from the command line. You can, however, call Karma programmatically from your node module. Here is the public API. karma.Server(options, [callback=process.exit]) # constructor # Returns: Server instance. Usage # Notice the capital 'S' on require('karma').Server. Deprecated Behavior # The following still works, but the way it behaves is deprecated
Travis CI is a popular continuous integration service that integrates with your Github repository to automatically run your tests when the code is pushed. Integration is done by adding a simple YAML file to your project root; Travis and Github take care of the rest. Whenever tested, the Travis results will appear in your Github pull requests and your history will be available within their control
In the repository we use and enforce the commit message conventions. The conventions are verified using commitlint with Angular config. The reasons for these conventions: # automatic generating of the changelog simple navigation through git history (e.g. ignoring style changes) Format of the commit message: # <type>(<scope>): <subject> <BLANK LINE> <body> <BLANK LINE> <footer> Example commit messa
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く