cells-platform-tests-composer-catalog
Cells Platform Integration tests Composer vs Catalog
Last updated 3 years ago by sbonacho .
Original npm · Tarball · package.json
$ cnpm install cells-platform-tests-composer-catalog 
SYNC missed versions from official npm registry.

Composer vs Catalog Integration Tests

IMPORTANT: This module works running npm test, but should be configured as a dependency of cells-platform module in order to work properly. This is because all modules needed are provided by a previous step on cells-platform validation pipeline.

This module build a integration tests environment with elements provided by cells-platform. This 2 elements are necessary:

  • Composer (inside a docker image)
  • Catalog (packed ass a tar.gz file)

All modules configuration are provided by tests.json generated by resolve-deps step in validation process. This is the minimum tests.json required:

{
  "catalog": {
    "type": "http",
    "dependencies": [
      "http://bbva-files.s3.amazonaws.com/cells/catalog-data/versions/{{version}}/specsFile.tar.gz"
    ],
    "version": "1.5.2"
  },
  "composer": {
    "type": "docker",
    "dependencies": {
      "catalog": "cellsbox/composer-catalog-compatibility",
      "bridge": "cellsbox/composer-core-compatibility"
    },
    "version": "0.0.5"
  },
  "dockerRegistry": "52.210.54.51:5000"
}

It checks that composer say ok to catalog version

  1. Starts a http daemon with the catalog configured file
  2. Starts composer as a daemon
  3. Send a request to check the provided catalog file.
 Composer-Catalog compatibility checks
    ✓ Should composer docker image validate catalog bundle file (30805ms)

Current Tags

  • 0.1.5                                ...           latest (3 years ago)

1 Versions

  • 0.1.5                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |