-
Notifications
You must be signed in to change notification settings - Fork 3
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
Property Based Tests with IPFS #24
Comments
This will require us to download ipfs to travis to run our tests: |
@Danwhy now you're onto something! 😍 |
Going to try and install IPFS locally on @Danwhy 's machine with curl and the commands from IPFS. If we can do this on his machine then we should be able to recreate these steps with travis. |
@Danwhy / @RobStallion thank you for adding the Please take a few minutes to follow dwyl/product-ux-research#34 Thanks! (and keep up the great effort!) ✨ |
Travis failed to build with the updated yml file. $ ./install.sh
We cannot install ./ipfs in one of the directories /usr/local/bin /usr/bin
It seems that we do not have the necessary write permissions.
Perhaps try running this script as a privileged user:
sudo ./install.sh
The command "./install.sh" failed and exited with 1 during .
Your build has been stopped. Going to try suggested fix. |
Tests added and running on Travis 👍 |
I think it would be a good idea to run some property based tests for this module, where we generate strings, maps and structs and run our
Cid.cid
function.We can then compare the results of these function calls with the ipfs result of the same values.
This will provide us with a comprehensive list of tests, that change every time we run them, meaning we can be sure the module is creating the cid correctly every time.
The text was updated successfully, but these errors were encountered: