SQLPSX icon indicating copy to clipboard operation
SQLPSX copied to clipboard

Need Pester tests (for everything)

Open MikeShepard opened this issue 9 years ago • 4 comments

MikeShepard avatar Jun 25 '16 00:06 MikeShepard

I'm going to start writing tests against AdventureWorks with Pester.

MikeShepard avatar Jun 25 '16 01:06 MikeShepard

Hi Mike,

I was just wondering if there has been any progress mode on writing Pester tests.

Regards, Chris

CPRowan avatar Dec 05 '17 18:12 CPRowan

Sorry so long to respond...got buried in my inbox. I haven't gotten around do doing anything about this.

My plan is to create a SQL script to create a test database (with tables/data, user and login) and write some tests against that data. It won't be "unit" tests because there's a dependency on the SQL Server version and connectivity, but it's the best I can come up with.

MikeShepard avatar Jan 15 '18 19:01 MikeShepard

I just spent a few minutes writing some pester tests for ADOLIB (which is my favorite :-)). Went pretty well, and I will try to get something checked in this weekend.

MikeShepard avatar Feb 08 '18 04:02 MikeShepard