Project

Profile

Help

Task #5888

closed

[Epic] Enable bindings-based tests

Added by bmbouter over 4 years ago. Updated over 3 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0:00 h)
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Goals

We currently don't test the bindings, which means we aren't ensuring the openAPI schema Pulp generates is correct, and that the bindings it creates are usable. For example sometimes APIs are added, which don't have their bindings available or working.

Also we want to make tests quicker/easier to write. Switching to bindings allows the test writer to work at a higher level and cover more functionality more quickly. Instead of interacting with Pulp using an HTTP library like requests, you'll work in terms of Pulp's operations themselves. For example, look at the large amount of functionality in this not-long script: https://github.com/pulp/pulpcore/blob/master/.travis/test_bindings.py

Notes

This isn't designed to replace all raw-http interaction.


Sub-issues 1 (0 open1 closed)

Task #5885: Introduce bindings for testing purposes to Travis environmentCLOSED - COMPLETE

Actions
Actions #1

Updated by dkliban@redhat.com over 3 years ago

  • Status changed from NEW to CLOSED - COMPLETE

Also available in: Atom PDF