scala - Running only a specific Spec from SBT that has constructor parameters -


i have specification test database related things against multiple databases. therefore gets database configuration test against via constructor parameters. instantiated , used bigger spec tests against databases.

now want test against lets mssql in sbt if use test-only f.q.d.n.myspec(databaseconfig.mssql) no tests run because not match tests. if leave parameter off tries instantiate class , rightfully fails because cant instantiate without parameters.

is there way run specific specification specific set of constructor parameters sbt without changing bigger spec calls it?

when use test:only need pass expression matching class name (using * if needed). specs2 try instantiate constructor parameters if have constructor 0 arguments. not case if pass object. can try have class 0 argument constructor instead?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -