Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
dc5d0877
Commit
dc5d0877
authored
Nov 06, 2018
by
William Entriken
Committed by
yann300
Jan 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expect full contract name in test run
parent
51d0f0f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
testRunner.js
remix-tests/tests/testRunner.js
+4
-4
No files found.
remix-tests/tests/testRunner.js
View file @
dc5d0877
...
...
@@ -61,7 +61,7 @@ describe('testRunner', function () {
it
(
'should returns 5 messages'
,
function
()
{
assert
.
deepEqual
(
tests
,
[
{
type
:
'contract'
,
value
:
'MyTest'
,
filename
:
'simple_storage_test.sol'
},
{
type
:
'contract'
,
value
:
'MyTest'
,
filename
:
'
tests/examples_1/
simple_storage_test.sol'
},
{
type
:
'testFailure'
,
value
:
'Should trigger one fail'
,
time
:
1
,
context
:
'MyTest'
,
errMsg
:
'the test 1 fails'
},
{
type
:
'testPass'
,
value
:
'Should trigger one pass'
,
time
:
1
,
context
:
'MyTest'
},
{
type
:
'testPass'
,
value
:
'Initial value should be100'
,
time
:
1
,
context
:
'MyTest'
},
...
...
@@ -97,7 +97,7 @@ describe('testRunner', function () {
it
(
'should returns 3 messages'
,
function
()
{
assert
.
deepEqual
(
tests
,
[
{
type
:
'contract'
,
value
:
'MyTest'
,
filename
:
'simple_storage_test.sol'
},
{
type
:
'contract'
,
value
:
'MyTest'
,
filename
:
'
tests/examples_2/
simple_storage_test.sol'
},
{
type
:
'testPass'
,
value
:
'Initial value should be100'
,
time
:
1
,
context
:
'MyTest'
},
{
type
:
'testPass'
,
value
:
'Initial value should be200'
,
time
:
1
,
context
:
'MyTest'
}
])
...
...
@@ -133,8 +133,8 @@ describe('testRunner', function () {
it
(
'should returns 3 messages'
,
function
()
{
assert
.
deepEqual
(
tests
,
[
{
type
:
'contract'
,
value
:
'StringTest'
,
filename
:
'simple_string_test.sol'
},
{
type
:
'testFailure'
,
value
:
'Value should be hello world'
,
time
:
1
,
context
:
'StringTest'
,
"errMsg"
:
"
initial value is not correct
"
},
{
type
:
'contract'
,
value
:
'StringTest'
,
filename
:
'
tests/examples_3/
simple_string_test.sol'
},
{
type
:
'testFailure'
,
value
:
'Value should be hello world'
,
time
:
1
,
context
:
'StringTest'
,
"errMsg"
:
"
function returned false
"
},
{
type
:
'testPass'
,
value
:
'Value should not be hello world'
,
time
:
1
,
context
:
'StringTest'
},
{
type
:
'testPass'
,
value
:
'Initial value should be hello'
,
time
:
1
,
context
:
'StringTest'
},
])
...
...
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