UNPKG

danf

Version:

Danf is a Node.js full-stack isomorphic OOP framework allowing to code the same way on both client and server sides. It helps you to make deep architectures and handle asynchronous flows in order to help produce scalable, maintainable, testable and perfor

153 lines (136 loc) 3.06 kB
MOCHA_OPTS = --check-leaks --globals async REPORTER = dot check: test test: test-utils test-manipulation test-configuration test-object test-dependency-injection test-file-system test-sequencing test-event test-http test-rendering test-command test-logging test-test test-app test-proto test-utils: # Utils @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ $(MOCHA_OPTS) \ test/unit/init.js test/unit/utils.js test-manipulation: # Manipulation @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/manipulation/* test-configuration: # Congiguration @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/configuration/* test-object: # Object @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/object/* test-dependency-injection: # Dependency Injection @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/dependency-injection/* test-file-system: # File System @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/file-system/* test-sequencing: # Sequencing @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/sequencing/* test-event: # Event @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/event/* test-http: # HTTP @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/http/* test-rendering: # Rendering @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ --delay \ $(MOCHA_OPTS) \ test/unit/rendering/* test-command: # Command @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 10000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/command/* test-logging: # Logging @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --bail \ --recursive \ $(MOCHA_OPTS) \ test/unit/logging/* test-test: # Test @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 10000 \ --bail \ --recursive \ --delay \ $(MOCHA_OPTS) \ test/unit/test/* test-app: # App @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ --delay \ $(MOCHA_OPTS) \ test/unit/app.js test-proto: # Proto @NODE_ENV=test ./node_modules/.bin/mocha \ --reporter $(REPORTER) \ --timeout 5000 \ $(MOCHA_OPTS) \ test/unit/proto.js