jasmine-core 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/console/console.js +27 -22
- data/lib/jasmine-core.js +2 -0
- data/lib/jasmine-core.rb +6 -2
- data/lib/jasmine-core/__init__.py +1 -0
- data/lib/jasmine-core/boot.js +1 -1
- data/lib/jasmine-core/boot/node_boot.js +71 -0
- data/lib/jasmine-core/core.py +60 -0
- data/lib/jasmine-core/example/node_example/spec/PlayerSpec.js +60 -0
- data/lib/jasmine-core/example/node_example/spec/SpecHelper.js +15 -0
- data/lib/jasmine-core/example/node_example/src/Player.js +24 -0
- data/lib/jasmine-core/example/node_example/src/Song.js +9 -0
- data/lib/jasmine-core/jasmine-html.js +104 -73
- data/lib/jasmine-core/jasmine.css +58 -54
- data/lib/jasmine-core/jasmine.js +368 -254
- data/lib/jasmine-core/node_boot.js +93 -0
- data/lib/jasmine-core/spec/console/ConsoleReporterSpec.js +12 -0
- data/lib/jasmine-core/spec/core/AnySpec.js +1 -0
- data/lib/jasmine-core/spec/core/ClockSpec.js +103 -17
- data/lib/jasmine-core/spec/core/DelayedFunctionSchedulerSpec.js +1 -1
- data/lib/jasmine-core/spec/core/EnvSpec.js +14 -14
- data/lib/jasmine-core/spec/core/ExceptionFormatterSpec.js +7 -0
- data/lib/jasmine-core/spec/core/ExceptionsSpec.js +2 -2
- data/lib/jasmine-core/spec/core/ExpectationSpec.js +34 -0
- data/lib/jasmine-core/spec/core/MockDateSpec.js +179 -0
- data/lib/jasmine-core/spec/core/ObjectContainingSpec.js +6 -0
- data/lib/jasmine-core/spec/core/PrettyPrintSpec.js +41 -10
- data/lib/jasmine-core/spec/core/QueueRunnerSpec.js +130 -31
- data/lib/jasmine-core/spec/core/SpecSpec.js +27 -88
- data/lib/jasmine-core/spec/core/TimerSpec.js +18 -0
- data/lib/jasmine-core/spec/core/integration/EnvSpec.js +20 -2
- data/lib/jasmine-core/spec/core/matchers/matchersUtilSpec.js +8 -0
- data/lib/jasmine-core/spec/core/matchers/toBeGreaterThanSpec.js +2 -1
- data/lib/jasmine-core/spec/core/matchers/toBeNaNSpec.js +3 -2
- data/lib/jasmine-core/spec/core/matchers/toBeUndefinedSpec.js +2 -1
- data/lib/jasmine-core/spec/core/matchers/toContainSpec.js +4 -2
- data/lib/jasmine-core/spec/core/matchers/toHaveBeenCalledSpec.js +2 -1
- data/lib/jasmine-core/spec/core/matchers/toHaveBeenCalledWithSpec.js +17 -3
- data/lib/jasmine-core/spec/core/matchers/toThrowErrorSpec.js +11 -11
- data/lib/jasmine-core/spec/core/matchers/toThrowSpec.js +5 -5
- data/lib/jasmine-core/spec/helpers/defineJasmineUnderTest.js +7 -0
- data/lib/jasmine-core/spec/helpers/nodeDefineJasmineUnderTest.js +33 -0
- data/lib/jasmine-core/spec/html/HtmlReporterSpec.js +155 -35
- data/lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js +1 -1
- data/lib/jasmine-core/spec/performance/large_object_test.js +36 -0
- data/lib/jasmine-core/version.rb +1 -1
- metadata +34 -23
- data/lib/jasmine-core/spec/node_suite.js +0 -187
- data/lib/jasmine-core/spec/support/dev_boot.js +0 -124
@@ -0,0 +1,7 @@
|
|
1
|
+
(function() {
|
2
|
+
// By the time onload is called, jasmineRequire will be redefined to point
|
3
|
+
// to the Jasmine source files (and not jasmine.js). So re-require
|
4
|
+
window.j$ = jasmineRequire.core(jasmineRequire);
|
5
|
+
jasmineRequire.html(j$);
|
6
|
+
jasmineRequire.console(jasmineRequire, j$);
|
7
|
+
})();
|
@@ -0,0 +1,33 @@
|
|
1
|
+
(function() {
|
2
|
+
var path = require("path"),
|
3
|
+
fs = require("fs");
|
4
|
+
|
5
|
+
var glob = require("glob");
|
6
|
+
|
7
|
+
var j$Require = require(path.join(__dirname, "../../src/core/requireCore.js"));
|
8
|
+
|
9
|
+
global.getJasmineRequireObj = function () {
|
10
|
+
return j$Require;
|
11
|
+
};
|
12
|
+
|
13
|
+
function extend(destination, source) {
|
14
|
+
for (var property in source) destination[property] = source[property];
|
15
|
+
return destination;
|
16
|
+
}
|
17
|
+
|
18
|
+
function getSourceFiles() {
|
19
|
+
var src_files = ['core/**/*.js', 'console/**/*.js', 'version.js'];
|
20
|
+
src_files.forEach(function(file) {
|
21
|
+
var filePath = path.join(__dirname, "../../", 'src/', file);
|
22
|
+
glob.sync(filePath).forEach(function(resolvedFile) {
|
23
|
+
require(resolvedFile);
|
24
|
+
});
|
25
|
+
});
|
26
|
+
}
|
27
|
+
|
28
|
+
extend(j$Require, require(path.join(__dirname,"../../src/console/requireConsole.js")));
|
29
|
+
getSourceFiles();
|
30
|
+
global.j$ = j$Require.core(j$Require);
|
31
|
+
|
32
|
+
j$Require.console(j$Require, j$);
|
33
|
+
})();
|
@@ -13,7 +13,7 @@ describe("New HtmlReporter", function() {
|
|
13
13
|
reporter.initialize();
|
14
14
|
|
15
15
|
// Main top-level elements
|
16
|
-
expect(container.querySelector("div.
|
16
|
+
expect(container.querySelector("div.jasmine_html-reporter")).toBeTruthy();
|
17
17
|
expect(container.querySelector("div.banner")).toBeTruthy();
|
18
18
|
expect(container.querySelector("div.alert")).toBeTruthy();
|
19
19
|
expect(container.querySelector("div.results")).toBeTruthy();
|
@@ -23,18 +23,36 @@ describe("New HtmlReporter", function() {
|
|
23
23
|
// title banner
|
24
24
|
var banner = container.querySelector(".banner");
|
25
25
|
|
26
|
-
var title = banner.querySelector(".title");
|
27
|
-
expect(title.
|
26
|
+
var title = banner.querySelector("a.title");
|
27
|
+
expect(title.getAttribute('href')).toEqual('http://jasmine.github.io/');
|
28
|
+
expect(title.getAttribute('target')).toEqual('_blank');
|
28
29
|
|
29
30
|
var version = banner.querySelector(".version"),
|
30
31
|
versionText = 'textContent' in version ? version.textContent : version.innerText;
|
31
32
|
expect(versionText).toEqual(j$.version);
|
32
33
|
});
|
33
34
|
|
35
|
+
it("builds a single reporter even if initialized multiple times", function() {
|
36
|
+
var env = new j$.Env(),
|
37
|
+
container = document.createElement("div"),
|
38
|
+
getContainer = function() { return container; },
|
39
|
+
reporter = new j$.HtmlReporter({
|
40
|
+
env: env,
|
41
|
+
getContainer: getContainer,
|
42
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
43
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
44
|
+
});
|
45
|
+
reporter.initialize();
|
46
|
+
reporter.initialize();
|
47
|
+
reporter.initialize();
|
48
|
+
|
49
|
+
expect(container.querySelectorAll("div.jasmine_html-reporter").length).toEqual(1);
|
50
|
+
});
|
51
|
+
|
34
52
|
it("starts the timer when jasmine begins", function() {
|
35
53
|
var env = new jasmine.Env(),
|
36
54
|
startTimerSpy = jasmine.createSpy("start-timer-spy"),
|
37
|
-
reporter = new
|
55
|
+
reporter = new j$.HtmlReporter({
|
38
56
|
env: env,
|
39
57
|
createElement: function() { return document.createElement.apply(document, arguments); },
|
40
58
|
timer: { start: startTimerSpy }
|
@@ -46,6 +64,36 @@ describe("New HtmlReporter", function() {
|
|
46
64
|
});
|
47
65
|
|
48
66
|
describe("when a spec is done", function() {
|
67
|
+
it("logs errors to the console and prints a special symbol if it is an empty spec", function() {
|
68
|
+
if (!window.console) {
|
69
|
+
window.console = { error: function(){} };
|
70
|
+
}
|
71
|
+
|
72
|
+
var env = new j$.Env(),
|
73
|
+
container = document.createElement('div'),
|
74
|
+
getContainer = function() {return container;},
|
75
|
+
reporter = new j$.HtmlReporter({
|
76
|
+
env: env,
|
77
|
+
getContainer: getContainer,
|
78
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
79
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
80
|
+
});
|
81
|
+
|
82
|
+
spyOn(console, 'error');
|
83
|
+
|
84
|
+
reporter.initialize();
|
85
|
+
|
86
|
+
reporter.specDone({
|
87
|
+
status: "passed",
|
88
|
+
fullName: 'Some Name',
|
89
|
+
passedExpectations: [],
|
90
|
+
failedExpectations: []
|
91
|
+
});
|
92
|
+
expect(console.error).toHaveBeenCalledWith("Spec \'Some Name\' has no expectations.");
|
93
|
+
var specEl = container.querySelector('.symbol-summary li');
|
94
|
+
expect(specEl.getAttribute("class")).toEqual("empty");
|
95
|
+
});
|
96
|
+
|
49
97
|
it("reports the status symbol of a disabled spec", function() {
|
50
98
|
var env = new j$.Env(),
|
51
99
|
container = document.createElement("div"),
|
@@ -58,7 +106,7 @@ describe("New HtmlReporter", function() {
|
|
58
106
|
});
|
59
107
|
reporter.initialize();
|
60
108
|
|
61
|
-
reporter.specDone({id: 789, status: "disabled", fullName: "symbols should have titles"});
|
109
|
+
reporter.specDone({id: 789, status: "disabled", fullName: "symbols should have titles", passedExpectations: [], failedExpectations: []});
|
62
110
|
|
63
111
|
var specEl = container.querySelector('.symbol-summary li');
|
64
112
|
expect(specEl.getAttribute("class")).toEqual("disabled");
|
@@ -78,7 +126,7 @@ describe("New HtmlReporter", function() {
|
|
78
126
|
});
|
79
127
|
reporter.initialize();
|
80
128
|
|
81
|
-
reporter.specDone({id: 789, status: "pending"});
|
129
|
+
reporter.specDone({id: 789, status: "pending", passedExpectations: [], failedExpectations: []});
|
82
130
|
|
83
131
|
var specEl = container.querySelector('.symbol-summary li');
|
84
132
|
expect(specEl.getAttribute("class")).toEqual("pending");
|
@@ -97,7 +145,7 @@ describe("New HtmlReporter", function() {
|
|
97
145
|
});
|
98
146
|
reporter.initialize();
|
99
147
|
|
100
|
-
reporter.specDone({id: 123, status: "passed"});
|
148
|
+
reporter.specDone({id: 123, status: "passed", passedExpectations: [{passed: true}], failedExpectations: []});
|
101
149
|
|
102
150
|
var statuses = container.querySelector(".symbol-summary");
|
103
151
|
var specEl = statuses.querySelector("li");
|
@@ -121,7 +169,8 @@ describe("New HtmlReporter", function() {
|
|
121
169
|
reporter.specDone({
|
122
170
|
id: 345,
|
123
171
|
status: "failed",
|
124
|
-
failedExpectations: []
|
172
|
+
failedExpectations: [],
|
173
|
+
passedExpectations: []
|
125
174
|
});
|
126
175
|
|
127
176
|
var specEl = container.querySelector(".symbol-summary li");
|
@@ -131,6 +180,44 @@ describe("New HtmlReporter", function() {
|
|
131
180
|
});
|
132
181
|
|
133
182
|
describe("when Jasmine is done", function() {
|
183
|
+
it("adds EMPTY to the link title of specs that have no expectations", function() {
|
184
|
+
if (!window.console) {
|
185
|
+
window.console = { error: function(){} };
|
186
|
+
}
|
187
|
+
var env = new j$.Env(),
|
188
|
+
container = document.createElement('div'),
|
189
|
+
getContainer = function() {return container;},
|
190
|
+
reporter = new j$.HtmlReporter({
|
191
|
+
env: env,
|
192
|
+
getContainer: getContainer,
|
193
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
194
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
195
|
+
});
|
196
|
+
|
197
|
+
spyOn(console, 'error');
|
198
|
+
|
199
|
+
reporter.initialize();
|
200
|
+
reporter.jasmineStarted({});
|
201
|
+
reporter.suiteStarted({id: 1});
|
202
|
+
reporter.specStarted({id: 1, status: 'passed', passedExpectations: [], failedExpectations: []});
|
203
|
+
reporter.specDone({
|
204
|
+
id: 1,
|
205
|
+
status: 'passed',
|
206
|
+
description: 'Spec Description',
|
207
|
+
passedExpectations: [],
|
208
|
+
failedExpectations: []
|
209
|
+
});
|
210
|
+
reporter.suiteDone({id: 1});
|
211
|
+
reporter.jasmineDone({});
|
212
|
+
|
213
|
+
var summary = container.querySelector('.summary');
|
214
|
+
var suite = summary.childNodes[0];
|
215
|
+
var specs = suite.childNodes[1];
|
216
|
+
var spec = specs.childNodes[0];
|
217
|
+
var specLink = spec.childNodes[0];
|
218
|
+
expect(specLink.innerHTML).toMatch(/SPEC HAS NO EXPECTATIONS/);
|
219
|
+
});
|
220
|
+
|
134
221
|
it("reports the run time", function() {
|
135
222
|
var env = new j$.Env(),
|
136
223
|
container = document.createElement("div"),
|
@@ -178,7 +265,9 @@ describe("New HtmlReporter", function() {
|
|
178
265
|
id: 123,
|
179
266
|
description: "with a spec",
|
180
267
|
fullName: "A Suite with a spec",
|
181
|
-
status: "passed"
|
268
|
+
status: "passed",
|
269
|
+
failedExpectations: [],
|
270
|
+
passedExpectations: [{passed: true}]
|
182
271
|
};
|
183
272
|
reporter.specStarted(specResult);
|
184
273
|
reporter.specDone(specResult);
|
@@ -193,7 +282,9 @@ describe("New HtmlReporter", function() {
|
|
193
282
|
id: 124,
|
194
283
|
description: "with another spec",
|
195
284
|
fullName: "A Suite inner suite with another spec",
|
196
|
-
status: "passed"
|
285
|
+
status: "passed",
|
286
|
+
failedExpectations: [],
|
287
|
+
passedExpectations: [{passed: true}]
|
197
288
|
};
|
198
289
|
reporter.specStarted(specResult);
|
199
290
|
reporter.specDone(specResult);
|
@@ -205,7 +296,8 @@ describe("New HtmlReporter", function() {
|
|
205
296
|
description: "with a failing spec",
|
206
297
|
fullName: "A Suite inner with a failing spec",
|
207
298
|
status: "failed",
|
208
|
-
failedExpectations: []
|
299
|
+
failedExpectations: [{}],
|
300
|
+
passedExpectations: []
|
209
301
|
};
|
210
302
|
reporter.specStarted(specResult);
|
211
303
|
reporter.specDone(specResult);
|
@@ -321,12 +413,33 @@ describe("New HtmlReporter", function() {
|
|
321
413
|
});
|
322
414
|
});
|
323
415
|
|
416
|
+
it("shows a message if no specs are run", function(){
|
417
|
+
var env, container, reporter;
|
418
|
+
env = new j$.Env();
|
419
|
+
container = document.createElement("div");
|
420
|
+
var getContainer = function() { return container; },
|
421
|
+
reporter = new j$.HtmlReporter({
|
422
|
+
env: env,
|
423
|
+
getContainer: getContainer,
|
424
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
425
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
426
|
+
});
|
427
|
+
reporter.initialize();
|
428
|
+
|
429
|
+
reporter.jasmineStarted({});
|
430
|
+
reporter.jasmineDone({});
|
431
|
+
|
432
|
+
var alertBars = container.querySelectorAll(".alert .bar");
|
433
|
+
expect(alertBars[0].getAttribute('class')).toMatch(/skipped/);
|
434
|
+
expect(alertBars[0].innerHTML).toMatch(/No specs found/);
|
435
|
+
});
|
436
|
+
|
324
437
|
describe("and all specs pass", function() {
|
325
438
|
var env, container, reporter;
|
326
439
|
beforeEach(function() {
|
327
440
|
env = new j$.Env();
|
328
441
|
container = document.createElement("div");
|
329
|
-
getContainer = function() { return container; },
|
442
|
+
var getContainer = function() { return container; },
|
330
443
|
reporter = new j$.HtmlReporter({
|
331
444
|
env: env,
|
332
445
|
getContainer: getContainer,
|
@@ -335,18 +448,22 @@ describe("New HtmlReporter", function() {
|
|
335
448
|
});
|
336
449
|
reporter.initialize();
|
337
450
|
|
338
|
-
reporter.jasmineStarted({});
|
451
|
+
reporter.jasmineStarted({ totalSpecsDefined: 2 });
|
339
452
|
reporter.specDone({
|
340
453
|
id: 123,
|
341
454
|
description: "with a spec",
|
342
455
|
fullName: "A Suite with a spec",
|
343
|
-
status: "passed"
|
456
|
+
status: "passed",
|
457
|
+
passedExpectations: [{passed: true}],
|
458
|
+
failedExpectations: []
|
344
459
|
});
|
345
460
|
reporter.specDone({
|
346
461
|
id: 124,
|
347
462
|
description: "with another spec",
|
348
463
|
fullName: "A Suite inner suite with another spec",
|
349
|
-
status: "passed"
|
464
|
+
status: "passed",
|
465
|
+
passedExpectations: [{passed: true}],
|
466
|
+
failedExpectations: []
|
350
467
|
});
|
351
468
|
reporter.jasmineDone({});
|
352
469
|
});
|
@@ -377,21 +494,23 @@ describe("New HtmlReporter", function() {
|
|
377
494
|
beforeEach(function() {
|
378
495
|
env = new j$.Env();
|
379
496
|
container = document.createElement("div");
|
380
|
-
getContainer = function() { return container; }
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
497
|
+
var getContainer = function() { return container; };
|
498
|
+
reporter = new j$.HtmlReporter({
|
499
|
+
env: env,
|
500
|
+
getContainer: getContainer,
|
501
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
502
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
503
|
+
});
|
387
504
|
reporter.initialize();
|
388
505
|
|
389
|
-
reporter.jasmineStarted({});
|
506
|
+
reporter.jasmineStarted({ totalSpecsDefined: 1 });
|
390
507
|
reporter.specDone({
|
391
508
|
id: 123,
|
392
509
|
description: "with a spec",
|
393
510
|
fullName: "A Suite with a spec",
|
394
|
-
status: "pending"
|
511
|
+
status: "pending",
|
512
|
+
passedExpectations: [],
|
513
|
+
failedExpectations: []
|
395
514
|
});
|
396
515
|
reporter.jasmineDone({});
|
397
516
|
});
|
@@ -414,19 +533,19 @@ describe("New HtmlReporter", function() {
|
|
414
533
|
|
415
534
|
beforeEach(function() {
|
416
535
|
env = new j$.Env();
|
417
|
-
container = document.createElement("div")
|
418
|
-
getContainer = function() { return container; }
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
536
|
+
container = document.createElement("div");
|
537
|
+
var getContainer = function() { return container; }
|
538
|
+
reporter = new j$.HtmlReporter({
|
539
|
+
env: env,
|
540
|
+
getContainer: getContainer,
|
541
|
+
createElement: function() { return document.createElement.apply(document, arguments); },
|
542
|
+
createTextNode: function() { return document.createTextNode.apply(document, arguments); }
|
543
|
+
});
|
425
544
|
reporter.initialize();
|
426
545
|
|
427
|
-
reporter.jasmineStarted({});
|
546
|
+
reporter.jasmineStarted({ totalSpecsDefined: 1 });
|
428
547
|
|
429
|
-
var passingResult = {id: 123, status: "passed"};
|
548
|
+
var passingResult = {id: 123, status: "passed", passedExpectations: [{passed: true}], failedExpectations: []};
|
430
549
|
reporter.specStarted(passingResult);
|
431
550
|
reporter.specDone(passingResult);
|
432
551
|
|
@@ -435,6 +554,7 @@ describe("New HtmlReporter", function() {
|
|
435
554
|
status: "failed",
|
436
555
|
description: "a failing spec",
|
437
556
|
fullName: "a suite with a failing spec",
|
557
|
+
passedExpectations: [],
|
438
558
|
failedExpectations: [
|
439
559
|
{
|
440
560
|
message: "a failure message",
|
@@ -488,7 +608,7 @@ describe("New HtmlReporter", function() {
|
|
488
608
|
});
|
489
609
|
|
490
610
|
it("sets the reporter to 'Failures List' mode", function() {
|
491
|
-
var reporterNode = container.querySelector(".
|
611
|
+
var reporterNode = container.querySelector(".jasmine_html-reporter");
|
492
612
|
expect(reporterNode.getAttribute("class")).toMatch("failure-list");
|
493
613
|
});
|
494
614
|
});
|
@@ -3,7 +3,7 @@ describe("j$.pp (HTML Dependent)", function () {
|
|
3
3
|
var sampleNode = document.createElement('div');
|
4
4
|
sampleNode.innerHTML = 'foo<b>bar</b>';
|
5
5
|
expect(j$.pp(sampleNode)).toEqual("HTMLNode");
|
6
|
-
expect(j$.pp({foo: sampleNode})).toEqual("{ foo
|
6
|
+
expect(j$.pp({foo: sampleNode})).toEqual("{ foo: HTMLNode }");
|
7
7
|
});
|
8
8
|
|
9
9
|
it("should print Firefox's wrapped native objects correctly", function() {
|
@@ -0,0 +1,36 @@
|
|
1
|
+
describe('Printing a big object', function(){
|
2
|
+
var bigObject;
|
3
|
+
function rand(upper) {
|
4
|
+
return Math.round(upper * Math.random());
|
5
|
+
}
|
6
|
+
|
7
|
+
function generateObject(level) {
|
8
|
+
var object = {};
|
9
|
+
|
10
|
+
for (var i = 0; i < 50; i++) {
|
11
|
+
var decide = rand(2);
|
12
|
+
switch (decide) {
|
13
|
+
case 0:
|
14
|
+
object["cycle" + i] = object;
|
15
|
+
break;
|
16
|
+
case 1:
|
17
|
+
object["number" + i] = rand(100);
|
18
|
+
break;
|
19
|
+
case 2:
|
20
|
+
if (level < 3) {
|
21
|
+
object["nesting" + i] = generateObject(level + 1);
|
22
|
+
}
|
23
|
+
break;
|
24
|
+
}
|
25
|
+
|
26
|
+
}
|
27
|
+
|
28
|
+
return object;
|
29
|
+
}
|
30
|
+
|
31
|
+
it('takes a resonable amount of time', function(){
|
32
|
+
bigObject = generateObject(0);
|
33
|
+
expect(j$.pp(bigObject)).toMatch(/cycle/);
|
34
|
+
});
|
35
|
+
});
|
36
|
+
|
data/lib/jasmine-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rajan Agaskar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-07-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -41,7 +41,7 @@ dependencies:
|
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: '0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
|
-
name:
|
44
|
+
name: compass
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
47
|
- - '>='
|
@@ -55,19 +55,19 @@ dependencies:
|
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '0'
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
58
|
+
name: jasmine_selenium_runner
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '>='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 0.2.0
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '>='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version:
|
70
|
+
version: 0.2.0
|
71
71
|
description: Test your JavaScript without any framework dependencies, in any environment,
|
72
72
|
and with a nice descriptive syntax.
|
73
73
|
email: jasmine-js@googlegroups.com
|
@@ -76,8 +76,17 @@ extensions: []
|
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
78
|
- ./lib/console/console.js
|
79
|
-
- ./lib/jasmine-core
|
79
|
+
- ./lib/jasmine-core.js
|
80
|
+
- ./lib/jasmine-core.rb
|
81
|
+
- ./lib/jasmine-core/__init__.py
|
80
82
|
- ./lib/jasmine-core/boot.js
|
83
|
+
- ./lib/jasmine-core/boot/boot.js
|
84
|
+
- ./lib/jasmine-core/boot/node_boot.js
|
85
|
+
- ./lib/jasmine-core/core.py
|
86
|
+
- ./lib/jasmine-core/example/node_example/spec/PlayerSpec.js
|
87
|
+
- ./lib/jasmine-core/example/node_example/spec/SpecHelper.js
|
88
|
+
- ./lib/jasmine-core/example/node_example/src/Player.js
|
89
|
+
- ./lib/jasmine-core/example/node_example/src/Song.js
|
81
90
|
- ./lib/jasmine-core/example/spec/PlayerSpec.js
|
82
91
|
- ./lib/jasmine-core/example/spec/SpecHelper.js
|
83
92
|
- ./lib/jasmine-core/example/src/Player.js
|
@@ -86,8 +95,7 @@ files:
|
|
86
95
|
- ./lib/jasmine-core/jasmine.css
|
87
96
|
- ./lib/jasmine-core/jasmine.js
|
88
97
|
- ./lib/jasmine-core/json2.js
|
89
|
-
- ./lib/jasmine-core/
|
90
|
-
- ./lib/jasmine-core.rb
|
98
|
+
- ./lib/jasmine-core/node_boot.js
|
91
99
|
- ./lib/jasmine-core/spec/console/ConsoleReporterSpec.js
|
92
100
|
- ./lib/jasmine-core/spec/core/AnySpec.js
|
93
101
|
- ./lib/jasmine-core/spec/core/CallTrackerSpec.js
|
@@ -98,10 +106,21 @@ files:
|
|
98
106
|
- ./lib/jasmine-core/spec/core/ExceptionsSpec.js
|
99
107
|
- ./lib/jasmine-core/spec/core/ExpectationResultSpec.js
|
100
108
|
- ./lib/jasmine-core/spec/core/ExpectationSpec.js
|
109
|
+
- ./lib/jasmine-core/spec/core/JsApiReporterSpec.js
|
110
|
+
- ./lib/jasmine-core/spec/core/MockDateSpec.js
|
111
|
+
- ./lib/jasmine-core/spec/core/ObjectContainingSpec.js
|
112
|
+
- ./lib/jasmine-core/spec/core/PrettyPrintSpec.js
|
113
|
+
- ./lib/jasmine-core/spec/core/QueueRunnerSpec.js
|
114
|
+
- ./lib/jasmine-core/spec/core/ReportDispatcherSpec.js
|
115
|
+
- ./lib/jasmine-core/spec/core/SpecSpec.js
|
116
|
+
- ./lib/jasmine-core/spec/core/SpySpec.js
|
117
|
+
- ./lib/jasmine-core/spec/core/SpyStrategySpec.js
|
118
|
+
- ./lib/jasmine-core/spec/core/SuiteSpec.js
|
119
|
+
- ./lib/jasmine-core/spec/core/TimerSpec.js
|
120
|
+
- ./lib/jasmine-core/spec/core/UtilSpec.js
|
101
121
|
- ./lib/jasmine-core/spec/core/integration/CustomMatchersSpec.js
|
102
122
|
- ./lib/jasmine-core/spec/core/integration/EnvSpec.js
|
103
123
|
- ./lib/jasmine-core/spec/core/integration/SpecRunningSpec.js
|
104
|
-
- ./lib/jasmine-core/spec/core/JsApiReporterSpec.js
|
105
124
|
- ./lib/jasmine-core/spec/core/matchers/matchersUtilSpec.js
|
106
125
|
- ./lib/jasmine-core/spec/core/matchers/toBeCloseToSpec.js
|
107
126
|
- ./lib/jasmine-core/spec/core/matchers/toBeDefinedSpec.js
|
@@ -120,26 +139,18 @@ files:
|
|
120
139
|
- ./lib/jasmine-core/spec/core/matchers/toMatchSpec.js
|
121
140
|
- ./lib/jasmine-core/spec/core/matchers/toThrowErrorSpec.js
|
122
141
|
- ./lib/jasmine-core/spec/core/matchers/toThrowSpec.js
|
123
|
-
- ./lib/jasmine-core/spec/core/ObjectContainingSpec.js
|
124
|
-
- ./lib/jasmine-core/spec/core/PrettyPrintSpec.js
|
125
|
-
- ./lib/jasmine-core/spec/core/QueueRunnerSpec.js
|
126
|
-
- ./lib/jasmine-core/spec/core/ReportDispatcherSpec.js
|
127
|
-
- ./lib/jasmine-core/spec/core/SpecSpec.js
|
128
|
-
- ./lib/jasmine-core/spec/core/SpySpec.js
|
129
|
-
- ./lib/jasmine-core/spec/core/SpyStrategySpec.js
|
130
|
-
- ./lib/jasmine-core/spec/core/SuiteSpec.js
|
131
|
-
- ./lib/jasmine-core/spec/core/TimerSpec.js
|
132
|
-
- ./lib/jasmine-core/spec/core/UtilSpec.js
|
133
142
|
- ./lib/jasmine-core/spec/helpers/BrowserFlags.js
|
143
|
+
- ./lib/jasmine-core/spec/helpers/defineJasmineUnderTest.js
|
144
|
+
- ./lib/jasmine-core/spec/helpers/nodeDefineJasmineUnderTest.js
|
134
145
|
- ./lib/jasmine-core/spec/html/HtmlReporterSpec.js
|
135
146
|
- ./lib/jasmine-core/spec/html/HtmlSpecFilterSpec.js
|
136
147
|
- ./lib/jasmine-core/spec/html/MatchersHtmlSpec.js
|
137
148
|
- ./lib/jasmine-core/spec/html/PrettyPrintHtmlSpec.js
|
138
149
|
- ./lib/jasmine-core/spec/html/QueryStringSpec.js
|
139
150
|
- ./lib/jasmine-core/spec/html/ResultsNodeSpec.js
|
140
|
-
- ./lib/jasmine-core/spec/
|
151
|
+
- ./lib/jasmine-core/spec/performance/large_object_test.js
|
141
152
|
- ./lib/jasmine-core/spec/performance/performance_test.js
|
142
|
-
- ./lib/jasmine-core/
|
153
|
+
- ./lib/jasmine-core/version.rb
|
143
154
|
homepage: http://pivotal.github.com/jasmine
|
144
155
|
licenses:
|
145
156
|
- MIT
|
@@ -160,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
171
|
version: '0'
|
161
172
|
requirements: []
|
162
173
|
rubyforge_project: jasmine-core
|
163
|
-
rubygems_version: 2.
|
174
|
+
rubygems_version: 2.2.2
|
164
175
|
signing_key:
|
165
176
|
specification_version: 4
|
166
177
|
summary: JavaScript BDD framework
|