Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Document how to run tests #48

Open
JamesGuthrie opened this issue May 26, 2015 · 2 comments · May be fixed by #49
Open

Document how to run tests #48

JamesGuthrie opened this issue May 26, 2015 · 2 comments · May be fixed by #49
Assignees

Comments

@JamesGuthrie
Copy link
Contributor

There are a lot of tests for pyretic but it's unclear how they should be run. Using a test runner like nosetests fails and there is no clear tests.py file which can be run (and executes tests). Could you please document how the tests are to be run? Additionally, it might be cool to have a travis automatic build which can be used to evaluate pull requests.

@joshreich joshreich assigned joshreich and ngsrinivas and unassigned joshreich May 26, 2015
@joshreich
Copy link
Member

The testing code has evolved quite a bit over time. I'm honestly not entirely sure what most of it is for anymore (though my suspicion is that it's mostly out of date). When I last developed, the test I was using was $ py.test pyretic/tests/tests.py

Srinivas has been the most active developer lately. Srinivas, can you provide James w/ brief documentation on the current set of test you are running?

JamesGuthrie added a commit to JamesGuthrie/pyretic that referenced this issue May 27, 2015
@JamesGuthrie JamesGuthrie linked a pull request May 27, 2015 that will close this issue
@JamesGuthrie
Copy link
Contributor Author

Thanks for the update, unfortunately py.test pyretic/tests/tests.py does not successfully run the tests but it put me on the right path the get the tests working again. I have opened a PR with the changes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants