Code Monkey home page Code Monkey logo

vcloud-tools-tester's Introduction

vCloud Tools Tester

The integration tests for vCloud Tools require a lot of parameters that are specific to your environment, and not ones you want to make public.

vCloud tools Tester makes it easy to run the vCloud Tools integration tests using a config file.

Installation

Add this line to your application's Gemfile:

gem 'vcloud-tools-tester'

And then execute:

$ bundle

Or install it yourself as:

$ gem install vcloud-tools-tester

Testing

Run the default suite of tests (e.g. lint, unit, features):

bundle exec rake

There are no integration tests for this project.

Contributing

Please see CONTRIBUTING.md.

vcloud-tools-tester's People

Contributors

mattbostock avatar annashipman avatar surminus avatar mikepea avatar ajlanghorn avatar dcarley avatar rjw1 avatar samjsharpe avatar deanwilson avatar alexmuller avatar

Watchers

Steve Laing avatar minglis avatar David Illsley avatar  avatar James Cloos avatar  avatar Sebastian Schmieschek avatar

vcloud-tools-tester's Issues

Allow override to location of config file

At the moment the config file location is hard-coded to a location under spec/integration with no override which would make it easy to accidentally clobber it, e.g. with a git reset --hard.

alphagov/vcloud-launcher@c51acf9#commitcomment-6319859

At the very least an override should be allowed.

If the location is changed, the Jenkins scripts will have to be updated as well.

This is not a vCloud Tools Tester issue, as that just takes a config file. The issue is one in each of the integration tests and the integration test instructions. However, raising it here it is to do with use of this tool, to avoid unnecessary duplication.

Stub_chain ties `fixture_parameters_spec.rb` too closely to implementation

While upgrading vCloud Tools Tester to use vCloud Core's new ApiInterface.rb rather than Vcloud::Core::Fog::ModelInterface directly, we found that the fixture_parameters_spec.rb was hard to update because it uses stub_chain. It looks like to use the API interface we'd have to work out the order of methods called and stub those in order, thus defeating the purpose of having an API interface.

We have left it as is for now, but would like to find a way to test this without tying the test so closely to the exact implementation of vCloud Core fog code and fog code itself.

Documentation should link to the required test parameters

#16 means that the integration tests now fail fast if a required test parameter has not been supplied.

It would be useful if the documentation could somehow link to the parameters so that we have 'living' documentation.

Ideally without referring to line numbers in files, which would be very brittle.

v0.3.0 has not been tagged or released

Hi all,

I need the v0.3.0 release of this for the vcloud-disk_launcher PR i'm putting together.

Is there any reason why is hasn't been tagged and published as a Gem?

Cheers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.