TestDataConnections.ini 1.4 KB

123456789101112131415161718192021222324
  1. ; The default connections to the test databases. Used by all data tests based on BasicDataServiceTest.cs.
  2. ; This is read by code in DefaultTestConns.cs.
  3. ; NOTE that this INI file is currently loaded as a embedded RESOURCE, which is weird and has a
  4. ; disadvantage of having to rebuild the Tests whenever the conn strings are changed.
  5. ; The only reason is that I couldn't figure out a reliable way to put this INI into the correct
  6. ; dir at runtime. If somebody can do it, that would be cool.
  7. ; I'm using a local MSDE server for testing. Obviously, you'll have to modify
  8. ; the conn string to whatever MS SQL server is available to you.
  9. ; If any of the conn strings is commented out, emty or not valid on your system,
  10. ; the relevant tests will be ignored, rather than fail.
  11. ; As to SQLite, if the conn string here is empty, it will work anyway using a temporary
  12. ; file for the DB. If you want the resulting DB to persist (e.g. for performance testing,
  13. ; when filling up the tables can take a long time), explicitly specify a conn string like this:
  14. ; SqliteConnection="URI=file:<path_to_your_file>,version=3"
  15. [TestConnections]
  16. MySqlConnection="Server=localhost;Port=3306;Database=opensim-nunit;User ID=opensim-nunit;Password=opensim-nunit;"
  17. SqlConnection="Server=.\SQL2008;Database=opensim-nunit;Trusted_Connection=True;"
  18. SqliteConnection="URI=file:opensim-nunit.db,version=3"