lundi 26 janvier 2015

Is there any way to ignore certain fields when using @ShouldMatchDataSet with NoSQLUnit?

I'm using NoSQLUnit for testing with a Mongo database.


I want to insert new entities that include the current time as creation time and then use the @ShouldMatchDataSet function to check that they were properly created.


I know all the concrete values except the creation time, is there any way to use @ShouldMatchDataSet ignoring this concrete field?


Aucun commentaire:

Enregistrer un commentaire