Skip to content

Commit

Permalink
Tests: add events testing to the browser and browserstack
Browse files Browse the repository at this point in the history
  • Loading branch information
flore77 committed Aug 31, 2016
1 parent 0a69b20 commit dfe9486
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 6 deletions.
11 changes: 7 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ grunt.initConfig( {
"test/overload.html",
"test/regex-filter.html",
"test/regex-exclude-filter.html",
"test/string-filter.html"
"test/string-filter.html",
"test/events/global-test.html",
"test/events/nested-suites.html",
"test/events/combined.html"
]
},
coveralls: {
Expand All @@ -123,9 +126,9 @@ grunt.initConfig( {
},
"test-on-node": {
files: [
"test/events/global-test.js",
"test/events/nested-suites.js",
"test/events/combined.js",
"test/events/global-test",
"test/events/nested-suites",
"test/events/combined",
"test/logs",
"test/main/test",
"test/main/assert",
Expand Down
2 changes: 1 addition & 1 deletion build/browserstack-current-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test/index.html",
"test/logs.html",
"test/seed.html",
"test/events.html"
"test/events/combined.html"
],
"browsers": [
"chrome_current",
Expand Down
2 changes: 1 addition & 1 deletion build/browserstack-legacy-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test/index.html",
"test/logs.html",
"test/seed.html",
"test/events.html"
"test/events/combined.html"
],
"browsers": [
"chrome_previous",
Expand Down
14 changes: 14 additions & 0 deletions test/events/combined.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>QUnit Logs Test Suite</title>
<link rel="stylesheet" href="../../dist/qunit.css">
<script src="../../dist/qunit.js"></script>
<script src="combined.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">test markup</div>
</body>
</html>
14 changes: 14 additions & 0 deletions test/events/global-test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>QUnit Logs Test Suite</title>
<link rel="stylesheet" href="../../dist/qunit.css">
<script src="../../dist/qunit.js"></script>
<script src="global-test.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">test markup</div>
</body>
</html>
14 changes: 14 additions & 0 deletions test/events/nested-suites.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>QUnit Logs Test Suite</title>
<link rel="stylesheet" href="../../dist/qunit.css">
<script src="../../dist/qunit.js"></script>
<script src="nested-suites.js"></script>
</head>
<body>
<div id="qunit"></div>
<div id="qunit-fixture">test markup</div>
</body>
</html>

0 comments on commit dfe9486

Please sign in to comment.