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

Add unit testing example to README #1

Closed
mkropat opened this issue Apr 10, 2014 · 0 comments · Fixed by #31
Closed

Add unit testing example to README #1

mkropat opened this issue Apr 10, 2014 · 0 comments · Fixed by #31
Milestone

Comments

@mkropat
Copy link
Collaborator

mkropat commented Apr 10, 2014

Unit testing is still relatively new to the shell scripting world. The average shell programmer isn't going to know what unit testing is for and when you would use it, so it's even more unlikely that they'd know why you would want to use spies and stubs.

There needs to be a concise yet complete introduction to shell unit testing with spies and fakes that not only explains how to use the functions in shpy, but it would also explain:

  • why unit testing is useful
  • how you go about unit testing shell scripts
  • what problem spies and stubs solve
  • how to use spies effectively

I feel like I know what needs to be said, but at this point I still need to think of a programming problem that:

  • illustrates the relevant testing concepts
  • is a problem that most programmers can relate to and understand
  • is concise enough that we don't have to go into needless detail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants