I am using TypeORM in a new project and i am trying to set the baseline for unit and integration testing. I would like to run my integration tests with a SQLLite db. I want to use typeorm-fixtures to create the db, load it with data and test my routes. Is there a way to do this with typeorm-fixtures-cli ?. The documentation shows how to use it with the "fixtures" command but I d like to run fixtures programmatically. Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire