pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
11 stars 11 forks source link

Introduce Package Builder for Tests #227

Closed confused-Techie closed 5 months ago

confused-Techie commented 5 months ago

Requirements

Description of the Change

This PR introduces a test centric package builder. Allowing a test to specify some minor details and build a fully compatible package object from it, which can then be inserted directly into the DB.

This allows for much easier test creation, and helps ensure a small change to the schema doesn't then require updating multiple places in the code