Distributing Tests
Inferno allows Test Kits to be distributed like regular Ruby gems. In order to make your Test Kit available to others:
- Make sure your repository is organized as described in Template Layout.
- Fill out the information in the
gemspec
file at the root of the repository. The name of the file should matchspec.name
within the file and the name of the main file inlib
. For example, for the US Core Test Kit, this file would be namedus_core_test_kit.gempsec
andspec.name
would be'us_core_test_kit'
. This page has recommended naming conventions for gems. - Optional: Once your
gemspec
file has been updated, you can publish your gem on rubygems, the official ruby gem repository. To publish your gem on rubygems, you will first need to make an account and then rungem build *.gemspec
andgem push *.gem
. If you don’t publish your gem on rubygems, however, users will still be able to install your Test Kit if it is located in a public Git repository.