Open jacobmartinez3d opened 4 years ago
Figuring out how to handle dummy DB interactions with startup/teardown methods. Need to organize further into testsuites so I can loop over each entity-type while still having individual test-cases per-entity.
Noticing some really bad traceback barf when MaglaTest
encounters bad seed data. Make sure to include good error handling for PR.
The test module will be merged in 3 stages:
SQLAlchemy
session object.magla
entities or modules(magla.utils
is ok). MaglaEntityTestFixture
test:# reset the seed object to match seed data
self.reset(seed_object)
# retrieve all seed data-tuples for given entity-type
self.get_seed_data("<entity name>")
# retrieve the seed data for a given entity and seed-index
self.get_seed_data("<entity name>", 1)
magla
CRUD operations and remaining edge case tests.
At this stage preparing full test coverage is not only necessary for deployment but is also going to help consolidate all the remaining todos and fixes left before initial alpha release.