All Projects → Quramy → ngx-zombie-compiler

Quramy / ngx-zombie-compiler

Licence: MIT License
Fast JiT compiler for Angular testing

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ngx-zombie-compiler

angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+113.33%)
Mutual labels:  test, karma
google-datastore-emulator
Google Datastore Emulator wrapper to nodejs
Stars: ✭ 17 (+13.33%)
Mutual labels:  test
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (+100%)
Mutual labels:  karma
debug.js
Debugger of JavaScript, by JavaScript, for JavaScript
Stars: ✭ 19 (+26.67%)
Mutual labels:  test
ng2-quiz
A general purpose quiz application developed in angular (updated to angular 8) that can be used for multiple purpose.
Stars: ✭ 90 (+500%)
Mutual labels:  test
pytest-coverage-comment
Comments a pull request with the pytest code coverage badge and full report
Stars: ✭ 32 (+113.33%)
Mutual labels:  test
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (+33.33%)
Mutual labels:  test
system-checks
⚙ Checks and shows Linux system info - Distro name, IP, running processes and etc. Official site - system-checks.org
Stars: ✭ 35 (+133.33%)
Mutual labels:  test
angular-unit-testing-examples
Showroom for different Angular unit testing concepts
Stars: ✭ 19 (+26.67%)
Mutual labels:  karma
expectest
Crate provides matchers and matcher functions for unit testing.
Stars: ✭ 25 (+66.67%)
Mutual labels:  test
rasa-train-test-gha
A GitHub action to run easily rasa train and rasa test in the CIs.
Stars: ✭ 26 (+73.33%)
Mutual labels:  test
ansible-role-test-vms
DEPRECATED - A Vagrant configuration to test Ansible roles against a variety of Linux distributions.
Stars: ✭ 42 (+180%)
Mutual labels:  test
cargo-testify
Watches changes in a rust project, runs test and shows friendly notification
Stars: ✭ 76 (+406.67%)
Mutual labels:  test
carina-demo
Carina demo project.
Stars: ✭ 40 (+166.67%)
Mutual labels:  test
rollup-plugin-istanbul
Seamless integration between Rollup and Istanbul
Stars: ✭ 39 (+160%)
Mutual labels:  karma
golang-example
⚡ Golang Clean Boilerplate
Stars: ✭ 15 (+0%)
Mutual labels:  test
fastify-example
Example webapp with Fastify
Stars: ✭ 18 (+20%)
Mutual labels:  test
cypress-angularjs-unit-test
Unit test Angularjs code using Cypress.io test runner
Stars: ✭ 23 (+53.33%)
Mutual labels:  test
brutal
A code-first approach to automate the writing of unit tests.
Stars: ✭ 54 (+260%)
Mutual labels:  test
twilio mock
Mock Twilio gem for Ruby
Stars: ✭ 26 (+73.33%)
Mutual labels:  test

ngx-zombie-compiler

wercker status npm version dependencies Status Greenkeeper badge GitHub license

Fast JiT compiler for Angular unit testing.

Install

npm install ngx-zombie-compiler -D

or

yarn add ngx-zombie-compiler -D

Usage

To use the compiler provided by this module, you need to configure it using TestBed.configureCompiler. If you use angular-cli, you can edit src/test.ts.

// First, import ZOMBIE_COMPILER_PROVIDERS
import { ZOMBIE_COMPILER_PROVIDERS } from 'ngx-zombie-compiler';

// :

// Second, configure TestBed's compiler
beforeEach(() => {
  getTestBed().configureCompiler({
    providers: ZOMBIE_COMPILER_PROVIDERS,
  });
});

Why?

By the default, TestingCompiler provided by Angular compiles all modules by each spec and compiling modules makes your test heavy. In mane cases, we can turn use the compiled result, so this module provide another JiT compiler which outlives default JiT compiler and reuses the compiled result. So using this, you can reduce the total execution time to run unit testing.

If you want details, please see my gist.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].