Advertisement
jamesan

Simple coverage test to validate geeknote-git AUR package.

Jun 9th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.16 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # Rough coverage test script to quickly verify geeknote's functionality.
  4. # By: James An <james@jamesan.ca>
  5. #
  6.  
  7. geeknote login
  8. # Your evernote credentials will be requested here.
  9.  
  10. geeknote user
  11. geeknote settings
  12. geeknote settings --help
  13. geeknote settings --editor mousepad
  14. geeknote settings
  15.  
  16. geeknote tag-create --title 'Tag Creation Test'
  17. geeknote tag-list
  18. geeknote tag-edit --tagname 'Tag Creation Test' --title 'Tag Change Test'
  19. geeknote tag-list
  20.  
  21. geeknote notebook-create --title 'Notebook Creation Test'
  22. geeknote notebook-list
  23. geeknote notebook-edit --notebook 'Notebook Creation Test' --title 'Notebook Change Test'
  24. geeknote notebook-list
  25.  
  26. geeknote create --notebook 'Notebook Change Test' --tags 'Tag Change Test' \
  27.                 --content 'Some content in my note.' --title 'Note Creation Test'
  28. geeknote find 'Test'
  29. geeknote show 1
  30. geeknote edit --note 1 --tags '' --content 'Content Change Test' --notebook '' --title 'Title Change Test'
  31. geeknote show 1
  32.  
  33. geeknote remove --note 1
  34. geeknote logout
  35.  
  36. # The newly created notebook and tag still exist. The tag-remove and
  37. # notebook-remove commands are both currently disabled in the geeknote script.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement