sgrif / diesel.rs-website

MIT License
32 stars 97 forks source link

Guide for application testing with diesel #76

Open Firstyear opened 6 years ago

Firstyear commented 6 years ago

Hi there,

I really like the guides you already have. I'd really like to see a guide on how to correctly run tests (ie #[cfg(test)] mod tests) or integrations tests with diesel to correctly do migrations, fixtures, and teardown. I don't see any resources about this today, but I think it would really help consumers of the library so there is "best way" to achieve this.

Thanks,