speculateやruspecに倣って #[myspec::specs] mod specs { #[before] fn acquire_db_conn() { let conn = ...; } #[test] fn case1() { conn.execute("<sql>"); } } みたいにしても良いが、コードの直感とだいぶ違ってしまうのでうーんとなる
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
speculateやruspecに倣って #[myspec::specs] mod specs { #[before] fn acquire_db_conn() { let conn = ...; } #[test] fn case1() { conn.execute("<sql>"); } } みたいにしても良いが、コードの直感とだいぶ違ってしまうのでうーんとなる