edis_client
The EDIS Data Webservice is a service provided by the United States International Trade Commission. For more information on either the USITC or EDIS please visit their respective websites (www.usitc.gov or edis.usitc.gov)
Documentation on the EDIS data webserivce can be found here
Testing
Tests are divided between unit and integration. Unit tests use FakeWeb to mock all http traffic. They are imperfect but fast. Integration tests require an internet connection, an edis account, stable edis reference and edis to be available. There are various rake tasks for testing:
- test: run all tests
- test_unit: unit tests only
- test_integration: integration tests
Running integration tests requires that you adding ./test/config.rb with a hash that contains the following keys
CREDS = { username: 'sean', password: 'password' }
Contributing to edis_client
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
- Fork the project
- Start a feature/bugfix branch
- Commit and push until you are happy with your contribution
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
Copyright
Copyright (c) 2011 The United States International Trade Commission. See LICENSE for further details.