dataplat / dbatools

🚀 SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.39k stars 787 forks source link

Update tests to be able to run them outside of AppVeyor #9406

Closed andreasjordan closed 1 day ago

andreasjordan commented 1 week ago

I want to run all the tests on a local lab using "real world" sql server instances.

I started with Get-DbaDb, but try to get all tests working. Current target: getting -DbaDb* working.

I learned that some test only work if the instance is on localhost. I think this is not very realistic as we promote to run dbatools on a central admin server, but sometime we need to move files around. Will try to get an overwiew and document this in the tests.

Will update this PR in the next days.

andreasjordan commented 6 days ago

Thanks for the comments. Will update the PR tomorrow.

andreasjordan commented 2 days ago

Ok, I will stop here and not add any more commits to get this merged first.

But I can roll back individual files if the changes need more discussion.

potatoqualitee commented 1 day ago

beautiful! thank you both 🙇🏼 i will work on that dacfx issue hopefully this week or next.