Project

General

Profile

Actions

Feature #15444

open

Move API cache to Katello, and update on API change

Added by Andrew Kofink almost 8 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
Difficulty:
hard
Triaged:
Fixed in Releases:
Found in Releases:

Description

- Move the test/data/:version/foreman_api.json from hammer-cli-katello to Katello
- Generate the API cache with 'rake apipie:cache' and compare with the committed version during Katello tests
- Run hammer-cli-katello tests after Katello tests to ensure hammer isn't affected by the API change
- Fail the Katello tests if hammer breaks

Should we also have Foreman/hammer-cli-foreman do this?

Actions #1

Updated by Andrew Kofink almost 8 years ago

Confirmed that subsequent apipie cache generation produces an identical json file.

Actions #2

Updated by Justin Sherrill over 7 years ago

  • Category set to Tests
  • translation missing: en.field_release set to 114
  • Difficulty set to hard
Actions

Also available in: Atom PDF