wulfgarpro
wulfgarpro

Reputation: 6934

Is there a way to automate the generation of test data for MongoDB

I have a DTO being mapped to MongoDB using morphia. Is there any way of generating randomised test data for MongoDB (as per my DTO) without writing something in-house?

Upvotes: 1

Views: 261

Answers (1)

Remon van Vliet
Remon van Vliet

Reputation: 18615

No. You'll either have to generate test data by generating mongoimport compatible files or through Morphia (preferred) with some of your own code.

Upvotes: 1

Related Questions