Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
OpenStack-In-A-Box
Stack-In-A-Box-based OpenStack Services for use with Testing Framesworks
.. image:: https://travis-ci.org/TestInABox/openstackinabox.svg?branch=master :target: https://travis-ci.org/TestInABox/openstackinabox :alt: Travis-CI Status
.. image:: https://coveralls.io/repos/TestInABox/openstackinabox/badge.svg :target: https://coveralls.io/r/TestInABox/openstackinabox :alt: Coverage Status
.. image:: https://badges.gitter.im/TestInABox/community.svg :target: https://gitter.im/TestInABox/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge :alt: Gitter
Stack-In-A-Box
provides the ability to use mocked RESTful APIs naturally inside unit tests by using modules such as HTTPretty
or Requests-Mock
. OpenStack-In-A-Box
provides a series of mocked OpenStack Services inside the Stack-In-A-Box
framework, thus providing a reliable mock-up of the OpenStack Services that can be utilized by applications written against them.
Installation is simple:
.. code-block:: bash
pip install openstackinabox
Enable Python modules to be unit tested against OpenStack services in an environment controlled by the unit tests.
Provide reliable, accurate mock-ups of the services
Enable unit testing to not have to mock the various tools, e.g KeystoneClient API, to perform their tests.
Support both Positive and Negative testing
Testing should be easy to do:
should be usable on systems like Travis (https://travis-ci.org/)
should be light on requirements
The code being unit-tested should not be able to tell the difference of whether it is working with OpenStack-In-A-Box
or the real thing
Stack-In-A-Box
upon which it is built) then the code should be able to call the real thingStack-In-A-Box
for details.This is a natural extension of Stack-In-A-Box
to provide OpenStack services to the unit testing being done. If you are using Stack-In-A-Box
then it makes sense to also use OpenStack-In-A-Box
as it is simply providing a compatible set of OpenStack services that simply need to be registered with Stack-In-A-Box
.
Current work is on supporting the OpenStack Keystone v2 services. See the Issues and Milestone for more details.
OpenStack-In-A-Box
builds on Stack-In-A-Box
. Simply instantiate the desired service and register it with Stack-In-A-Box
.
Stack-In-A-Box
- https://github.com/TestInABox/stackInABox/OpenStack
- https://www.openstack.org/OpenStack Keystone
- http://docs.openstack.org/developer/keystone/FAQs
OpenStack APIs for the Stack-In-A-Box Testing Suite
We found that openstackinabox demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.