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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -