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

Write some tests! #11

Open
rodreegez opened this issue Apr 12, 2011 · 7 comments
Open

Write some tests! #11

rodreegez opened this issue Apr 12, 2011 · 7 comments

Comments

@rodreegez
Copy link
Collaborator

To prevent regressions, write a friggin test suit!

@franciscoj
Copy link

👍

I'd love to give some help (if you need it).

@philnash
Copy link
Collaborator

Lovely idea. Any thoughts on the best way to test a command line tool like this?

@rodreegez
Copy link
Collaborator Author

If anyone fancies taking a stab at this please feel free. Let me know and I'll assign the case over. Otherwise I will take a look hopefully this evening.

@franciscoj
Copy link

What about cucumber with aruba?

@philnash
Copy link
Collaborator

Ah, I was wondering whether cucumber would be the right tool. Aruba looks like this is exactly what it was for.

I would probably prefer something a bit more unit test style, but I haven't found anything yet.

@franciscoj
Copy link

I just managed to got cucumber with aruba working on my branch. But I had to do quite some changes in the naming of classes, etc. Have a look at franciscoj/powder@384faa13a90625fdd953

@fschwahn
Copy link
Collaborator

I took a stab at writing a test-suite with test/unit. Some refactoring was necessary, and during testing I changed some stuff around. Anyway, was a nice learning experience for me, maybe you can utilize some of my findings. You can find the code here: https://github.com/fschwahn/powder/tree/test

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

No branches or pull requests

4 participants