Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
f09c601e
Commit
f09c601e
authored
May 15, 2017
by
Mikaël Salson
Committed by
Mathieu Giraud
Jun 07, 2017
Browse files
browser/tests: Put functional tests in dedicated directory
This was becoming a mess
parent
84f44a03
Changes
9
Hide whitespace changes
Inline
Side-by-side
browser/test/browser_test.rb
→
browser/test/
functional/
browser_test.rb
View file @
f09c601e
...
...
@@ -28,7 +28,7 @@ class BrowserTest < MiniTest::Test
def
set_browser
(
vidjil_file
,
analysis_file
=
nil
)
folder_path
=
Dir
.
pwd
folder_path
.
sub!
'/browser/test'
,
''
folder_path
.
sub!
'/browser/test
/functional
'
,
''
index_path
=
'file://'
+
folder_path
+
'/browser/index.html'
data_path
=
folder_path
+
vidjil_file
analysis_path
=
nil
...
...
browser/test/segmenter_browser.rb
→
browser/test/
functional/
segmenter_browser.rb
View file @
f09c601e
File moved
browser/test/test_analysis-example1.rb
→
browser/test/
functional/
test_analysis-example1.rb
View file @
f09c601e
File moved
browser/test/test_loading_analysis.rb
→
browser/test/
functional/
test_loading_analysis.rb
View file @
f09c601e
File moved
browser/test/test_multilocus.rb
→
browser/test/
functional/
test_multilocus.rb
View file @
f09c601e
File moved
browser/test/test_segmenter-page.rb
→
browser/test/
functional/
test_segmenter-page.rb
View file @
f09c601e
...
...
@@ -7,7 +7,7 @@ class TestSegmenterPage < BrowserTest
# Redefine set_browser as the tested webpage is totally different
folder_path
=
Dir
.
pwd
folder_path
.
sub!
'/browser/test'
,
''
folder_path
.
sub!
'/browser/test
/functional
'
,
''
index_path
=
'file://'
+
folder_path
+
'/browser/segmenter_page.html'
print
"Open browser
\n
"
...
...
browser/test/test_segmenter_page_errors.rb
→
browser/test/
functional/
test_segmenter_page_errors.rb
View file @
f09c601e
...
...
@@ -7,7 +7,7 @@ class TestSegmenterPageErrors < BrowserTest
# Redefine set_browser as the tested webpage is totally different
folder_path
=
Dir
.
pwd
folder_path
.
sub!
'/browser/test'
,
''
folder_path
.
sub!
'/browser/test
/functional
'
,
''
index_path
=
'file://'
+
folder_path
+
'/browser/segmenter_page.html'
print
"Open browser
\n
"
...
...
browser/test/vidjil_browser.rb
→
browser/test/
functional/
vidjil_browser.rb
View file @
f09c601e
File moved
browser/test/launch_functional_tests
View file @
f09c601e
rm -f test/*.xml
EXIT=0
for file in test_*rb; do
for file in
functional/
test_*rb; do
ruby $file;
TMP_EXIT=$?
if [ $TMP_EXIT -ne 0 ]; then
...
...
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