Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Sharness as our shell test framework #201

Closed
wants to merge 2 commits into from

Conversation

chriscool
Copy link
Contributor

This fixes issue #148 (Whole-tool tests).
A Makefile and more test scripts can be added later.

Our test framework is based on Sharness.
So the first thing to do is to source it.
This checks a little bit the installation and some
basic commands.

You can run it like that:

$ cd test
$ ./t0010-basic-commands.sh
 ok 1 - current dir is writable
 ok 2 - ipfs version succeeds
 ok 3 - ipfs version output looks good
 ok 4 - ipfs help succeeds
 ok 5 - ipfs help output looks good
 # passed all 5 test(s)
 1..5
@chriscool
Copy link
Contributor Author

Please look at pull-request #204 (Use Sharness as our shell test framework, version 2) that builds on top of this one and adds a Makefile.

@jbenet
Copy link
Member

jbenet commented Oct 25, 2014

closed in favor of #204

@jbenet jbenet closed this Oct 25, 2014
@Stebalien Stebalien mentioned this pull request May 26, 2020
77 tasks
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
@aschmahmann aschmahmann mentioned this pull request Aug 23, 2021
62 tasks
@ajnavarro ajnavarro mentioned this pull request Aug 24, 2022
72 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants