Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
ea4d78ff
Commit
ea4d78ff
authored
Dec 17, 2015
by
Bruno Pinto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Basic omf tests
parent
e17dc1bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
.travis.yml
.travis.yml
+2
-0
pkg/omf/spec/basic_spec.fish
pkg/omf/spec/basic_spec.fish
+22
-0
No files found.
.travis.yml
View file @
ea4d78ff
...
...
@@ -17,6 +17,8 @@ before_script:
script
:
-
docker run -t oh-my-fish /usr/bin/fish "tests/run.fish"
-
docker run -t oh-my-fish /usr/bin/fish -c "cd pkg/fish-spec; fish-spec"
-
docker run -t oh-my-fish /usr/bin/fish -c "cd pkg/omf; fish-spec"
-
docker run -t oh-my-fish /usr/bin/fish "tests/test-generate-themes-doc.fish"
after_failure
:
...
...
pkg/omf/spec/basic_spec.fish
0 → 100644
View file @
ea4d78ff
function describe_basic_tests
function before_all
set -gx CI WORKAROUND
end
function it_has_a_help_command
set -l output (omf help)
assert 0 = $status
end
function it_has_a_doctor_command
set -l output (omf doctor)
assert 0 = $status
end
function it_install_packages
set -l remove_output (omf remove apt ^/dev/null)
set -l install_output (omf install apt)
assert 0 = $status
end
end
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