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

Get tests working #4

Open
ioquatix opened this issue Mar 29, 2017 · 7 comments
Open

Get tests working #4

ioquatix opened this issue Mar 29, 2017 · 7 comments

Comments

@ioquatix
Copy link
Member

It looks like there is some rudimentary testing. It's probably a good idea if we can get it working again? @tangentstorm did you make them?

@ioquatix
Copy link
Member Author

If we get it working, we can use Travis for CI.

@tangentstorm
Copy link
Contributor

That sounds like me... :)

@ioquatix
Copy link
Member Author

Do you think you can have a quick hack to get them working? Need a script that can run on travis, exit status 0 if good, 1 if fail, and ideally some information why it failed.

@tangentstorm
Copy link
Contributor

tangentstorm commented Mar 29, 2017

What I run is the test script... It just generates a bunch of output into the expect directory, and then does a git diff on that directory. We just need to make that file return [ $size == 0 ] ...

I don't know how well Travis handles colored output though....?

@ioquatix
Copy link
Member Author

Yes it handles all TTY output, including colours.

@ioquatix
Copy link
Member Author

I tried running test script but.. it didn't seem to work..

@crcx
Copy link
Collaborator

crcx commented Mar 30, 2017

The test script should be runable now.

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

3 participants