cprieto / tsqlt-teamcity

TeamCity runner for tSQLt tests
29 stars 5 forks source link

Possible to add support for test classes? #6

Open bcrandell opened 8 years ago

bcrandell commented 8 years ago

Hi Cristian. Would it be possible to add support for running a single test class instead of running all tests? I have tests I want to run on every build and others I don't want to run on every build, and they're separated into different test classes. It would be nice if there was a textbox on the setup screen where I could add the test class(es) to be run and then EXEC [tSQLt].[Run] 'testclass' would be run instead of EXEC [tSQLt].[RunAll].

Thanks, Brad

cprieto commented 8 years ago

Yes, that is a nice feature to have. I will add support for it this weekend. It will be a little tricky because you can specify not only the name of the test class but as well a schema to run all the test inside it.

Thanks for suggesting it.

faddison commented 5 years ago

Hi, was this every implemented?

cprieto commented 5 years ago

Actually yes, but in the last 8 months I changed jobs and move overseas so it is safe to say it is WIP, it is nearly done together with a massive refactor to make it easy to add things. I already got some time from work to finish and submit this and I have to test it in old and recent TC installations but I hope this will happen before January finishes.

faddison commented 5 years ago

Hi, did you manage to make any progress on this?