-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: use reporter specified in config for e2e tests
E2E test framework was overriding the reporters on the commandline. This meant that tests e2e tests for reporter were not even using the reporters they were supposed testing. The test now use the specified reporters, even if they don't verify their outputs.
- Loading branch information
1 parent
9cdaf77
commit 87f0ac0
Showing
12 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ autoWatch = true; | |
proxies = { | ||
'/': 'http://localhost:8000/test/e2e/angular-scenario/' | ||
}; | ||
|
||
reporters = ['dots']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ exclude = [ | |
autoWatch = true; | ||
|
||
browsers = ['Chrome'] | ||
|
||
reporters = ['dots']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ browsers = ['Chrome']; | |
preprocessors = { | ||
'**/*.coffee': 'coffee' | ||
}; | ||
|
||
reporters = ['dots']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Some code under test | ||
function plus(a, b) { | ||
return a + b; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe('plus', function() { | ||
it('should pass', function() { | ||
expect(true).toBe(true); | ||
}); | ||
|
||
it('should work', function() { | ||
console.log("First parameter: 1"); | ||
console.log("Second parameter: 2"); | ||
expect(plus(1, 2)).toBe(3); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
files = [ | ||
JASMINE, | ||
JASMINE_ADAPTER, | ||
'*.js' | ||
]; | ||
|
||
exclude = [ | ||
'testacular.conf.js' | ||
]; | ||
|
||
autoWatch = true; | ||
|
||
browsers = ['Chrome'] | ||
|
||
reporters = ['dots', 'junit']; | ||
|
||
logLevel = LOG_DEBUG; | ||
|
||
junitReporter = { | ||
outputFile: 'test-results.xml' | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ exclude = [ | |
autoWatch = true; | ||
browsers = ['Chrome']; | ||
singleRun = false; | ||
|
||
reporters = ['dots']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ exclude = [ | |
autoWatch = true; | ||
|
||
browsers = ['Chrome'] | ||
|
||
reporters = ['dots']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ autoWatch = true; | |
autoWatchInterval = 1; | ||
logLevel = LOG_INFO; | ||
logColors = true; | ||
reporters = ['dots']; |