Skip to content

Commit

Permalink
WIP: getting ready to add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c0bra committed Apr 19, 2013
1 parent 2c62846 commit 81dc434
Show file tree
Hide file tree
Showing 23 changed files with 31,595 additions and 495 deletions.
358 changes: 189 additions & 169 deletions build/ng-grid.debug.js

Large diffs are not rendered by default.

312 changes: 165 additions & 147 deletions build/ng-grid.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/ng-grid.min.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions config/karma-e2e.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
basePath = '../';

files = [
ANGULAR_SCENARIO,
ANGULAR_SCENARIO_ADAPTER,

'test/e2e/**/*.js'
];

autoWatch = false;

browsers = ['Chrome'];

singleRun = true;

proxies = {
'/': 'http://localhost:8000/'
};

junitReporter = {
outputFile: 'test_out/e2e.xml',
suite: 'e2e'
};
30 changes: 30 additions & 0 deletions config/karma-midway.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
basePath = '../';

files = [
JASMINE,
JASMINE_ADAPTER,
'./config/mocha.conf.js',

// 3rd-party code
'lib/jquery-1.9.1.js',
'lib/angular.js',
// 'test/lib/angular/angular-mocks.js',

// App code
'build/ng-grid.debug.js',

// Test-specific code
'test/lib/angular/ngMidwayTester.js',

//Test-Specs
'./test/midway/**/*.js'
];

autoWatch = true;

browsers = ['PhantomJS'];

junitReporter = {
outputFile: 'test_out/midway.xml',
suite: 'unit'
};
26 changes: 26 additions & 0 deletions config/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
basePath = '../';

files = [
JASMINE,
JASMINE_ADAPTER,

// 3rd-party code
'lib/jquery-1.9.1.js',
'lib/angular.js',
'test/lib/angular/angular-mocks.js',

// App code
'build/ng-grid.debug.js',

// Test specs
'test/unit/**/*.js'
];

autoWatch = true;

browsers = ['PhantomJS'];

junitReporter = {
outputFile: 'test_out/unit.xml',
suite: 'unit'
};
Loading

0 comments on commit 81dc434

Please sign in to comment.