Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
slapos
Commits
7457b64d
Commit
7457b64d
authored
Oct 29, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/jstestnode: add json for instance parameters
parent
29b2d7cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
0 deletions
+71
-0
software/jstestnode/instance-jstestnode-input-schema.json
software/jstestnode/instance-jstestnode-input-schema.json
+52
-0
software/jstestnode/instance-jstestnode-output-schema.json
software/jstestnode/instance-jstestnode-output-schema.json
+6
-0
software/jstestnode/software.cfg.json
software/jstestnode/software.cfg.json
+13
-0
No files found.
software/jstestnode/instance-jstestnode-input-schema.json
0 → 100644
View file @
7457b64d
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"description"
:
"Parameters to instantiate JSTestNode"
,
"additionalProperties"
:
false
,
"properties"
:
{
"target"
:
{
"description"
:
"Target system"
,
"type"
:
"string"
,
"default"
:
"firefox"
,
"enum"
:
[
"firefox"
,
"node"
,
"iOS"
]
},
"target-version"
:
{
"description"
:
"Target browser version"
,
"type"
:
"string"
,
"default"
:
"11.3"
},
"target-device"
:
{
"description"
:
"Target device"
,
"type"
:
"string"
,
"default"
:
"iPhone Simulator"
},
"target-browser"
:
{
"description"
:
"Target browser"
,
"type"
:
"string"
,
"default"
:
"Safari"
},
"appium-server-auth"
:
{
"description"
:
"Authentication Key"
,
"type"
:
"string"
,
"default"
:
"user:key"
},
"test-suite"
:
{
"description"
:
"The test suite to run"
,
"type"
:
"string"
,
"enum"
:
[
"jio"
,
"renderjs"
]
},
"remote-access-url"
:
{
"description"
:
"URL that controlled browser must access to run tests"
,
"type"
:
"string"
,
"format"
:
"uri"
,
"default"
:
"(the nginx server started by this instance)"
,
"example"
:
"https://softinst1234.host.vifib.net/"
}
}
}
software/jstestnode/instance-jstestnode-output-schema.json
0 → 100644
View file @
7457b64d
{
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"description"
:
"Values returned by JSTestNode instantiation"
,
"additionalProperties"
:
false
,
"type"
:
"object"
}
software/jstestnode/software.cfg.json
0 → 100644
View file @
7457b64d
{
"name"
:
"JSTestNode"
,
"description"
:
"Simple Test Runner for Javascrip projects"
,
"serialisation"
:
"json-in-xml"
,
"software-type"
:
{
"default"
:
{
"title"
:
"Default"
,
"request"
:
"instance-jstestnode-input-schema.json"
,
"response"
:
"instance-jstestnode-output-schema.json"
,
"index"
:
0
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment