djangonauts / django-hstore

PostgreSQL HStore support for Django.
http://django-hstore.readthedocs.io/
Other
517 stars 142 forks source link

Add a test suite for migrations #63

Closed leonsas closed 9 years ago

leonsas commented 10 years ago

Seems like proper behavior when dealing with migrations have been troubling you. Maybe it'd be useful adding a test suite around proper migration output for south/1.7?

I could pitch in later this week if you think a migration test suite belongs to the project (I think it does).

nemesifier commented 10 years ago

yes that would be very useful, I skipped it because I don't have a clue on how to do it, if you do it that would be very instructive for everyone contributing to this package.

leonsas commented 10 years ago

I have no clue either, but I'm sure I can look around for how other people do it. I'll try to dig into this at some point this week!

Naddiseo commented 10 years ago

I used django-extensions as a guide when I was trying to write a migration test.

nemesifier commented 10 years ago

:+1: that's a good suggestion

leonsas commented 10 years ago

Haven't figured a way to do simple tests supporting both south & 1.7 migrations, will keep looking

nemesifier commented 10 years ago

Thanks for the update.

nemesifier commented 9 years ago

One test to ensure there are no migration issues on VirtualField has just been added, see #103 for more info.