Cloud NDB is compatible with the Cloud Datastore Emulator; we recommend tests be done using that, the same way on Cloud NDB as they would be with the Cloud Datastore library.
On Mon, Feb 24, 2020 at 11:59 AM Remko Tronçon <[email protected]> wrote: > > We also have a migration guide for NDB >> <https://cloud.google.com/appengine/docs/standard/python3/migrating-to-cloud-ndb> >> at, as part of our broader GAE Python migration documentation >> <https://cloud.google.com/appengine/docs/standard/python/migrate-to-python3>. >> We'll continue updating and adding to this documentation and library as >> part of our migration support effort, so please also continue sending us >> your feedback. >> > > The migration guide doesn't mention how NDB unit tests can be ported. > AFAIK, the testbed that is currently available in NDB is not available for > Cloud NDB. > Is there anything provided for unit testing Cloud NDB code, or do you have > to abstract out NDB (which sounds like a huge effort and would pretty much > make Cloud NDB useless). > > thanks, > Remko > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/307e34e9-60ed-4534-a330-1adbad15255a%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/307e34e9-60ed-4534-a330-1adbad15255a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CANtYgFK_%3D5ibcb6UML-8wDeog0rDQ_0j%2BnR_fuLaytw4QfMCQQ%40mail.gmail.com.
