-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest-harness.js
57 lines (49 loc) · 1.31 KB
/
test-harness.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
var Harness = Siesta.Harness.Browser.ExtJS;
Harness.configure({
title : 'MVC Test Suite',
waitForAppReady : true,
debuggerOnFail : true,
testClass : PolicyWeb.TestClass,
loaderPath : {
'PolicyWeb' : './app',
'Ext.ux' : './resources/ux'
},
preload : [
"/extjs4/resources/css/ext-all.css",
"/extjs4/ext-all-debug.js",
"app/common.js",
"app/Appstate.js"
]
});
Harness.start(
{
group : 'Sanity',
items : [
't/frontend/sanity/sanity.t.js',
't/frontend/sanity/login.t.js'
]
},
{
group : 'Model',
items : [
't/frontend/model/allowners_model.t.js'
]
},
{
group : 'Views',
items : [
't/frontend/view/network_view.t.js'
]
},
{
group : 'Application',
// need to set the `preload` to empty array - to avoid the double loading of dependencies
preload : [],
items : [
{
//hostPageUrl : 'app.html',
url : 't/frontend/application/app.t.js'
}
]
}
);