Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Distributing Tests

Inferno allows Test Kits to be distributed like regular Ruby gems. In order to make your Test Kit available to others:

  1. Make sure your repository is organized as described in Template Layout.
  2. Fill out the information in the gemspec file at the root of the repository. The name of the file should match spec.name within the file and the name of the main file in lib. For example, for the US Core Test Kit, this file would be named us_core_test_kit.gempsec and spec.name would be 'us_core_test_kit'. This page has recommended naming conventions for gems.
  3. 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 run gem build *.gemspec and gem 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.