Integration Testing best practices

后端 未结 5 409
隐瞒了意图╮
隐瞒了意图╮ 2020-12-24 03:42

Our team has hundreds of integration tests that hit a database and verify results. I\'ve got two base classes for all the integration tests, one for retrieve-only tests and

5条回答
  •  感情败类
    2020-12-24 04:23

    We have an SQL Server Express instance with the same DB definition running for every dev machine as part of the dev environment. With Windows authentication the connection strings are stable - no username/password in the string.

    What we would really like to do, but haven't yet, is see if we can get our system to run on SQL Server Compact Edition, which is like SQLite with SQL Server's engine. Then we could run them in-memory, and possibly in parallel as well (with multiple processes).

提交回复
热议问题