Re: Selective unittesting in DUB

2020-12-01 Thread Johannes Loher via Digitalmars-d-learn
Am 01.12.20 um 08:11 schrieb ryuukk_: > Running .\dawn-test-application.exe > 2 modules passed unittests > > > Wich ones? it should print > > > ``` > Running tests for target X > > - src/module_a.d Tests: OK   <-- line in green > - src/module_b.d Tests: OK >

Re: Selective unittesting in DUB

2020-11-30 Thread Виталий Фадеев via Digitalmars-d-learn
On Wednesday, 21 December 2016 at 18:07:23 UTC, Nordlöw wrote: Is there a way to specify in dub.json (or any other file) that only a subset of the sources compiled and linked to a library or app should have they're unittests enabled? Check this one: app.d -- Version ( DoubleBuffer ) {

Selective unittesting in DUB

2020-11-30 Thread Виталий Фадеев via Digitalmars-d-learn
https://forum.dlang.org/post/owhmsgkhszkwcjkxl...@forum.dlang.org On Wednesday, 21 December 2016 at 18:07:23 UTC, Nordlöw wrote: Is there a way to specify in dub.json (or any other file) that only a subset of the sources compiled and linked to a library or app should have they're unittests

Re: Selective unittesting in DUB

2020-11-30 Thread ryuukk_ via Digitalmars-d-learn
Running .\dawn-test-application.exe 2 modules passed unittests Wich ones? it should print ``` Running tests for target X - src/module_a.d Tests: OK <-- line in green - src/module_b.d Tests: OK - src/module_c.d Tests: OK - src/module_e.d

Re: Selective unittesting in DUB

2020-11-30 Thread ryuukk_ via Digitalmars-d-learn
On Wednesday, 21 December 2016 at 19:49:20 UTC, Jacob Carlborg wrote: On 2016-12-21 19:07, Nordlöw wrote: Is there a way to specify in dub.json (or any other file) that only a subset of the sources compiled and linked to a library or app should have they're unittests enabled? You can use

Re: Selective unittesting in DUB

2016-12-21 Thread Jacob Carlborg via Digitalmars-d-learn
On 2016-12-21 19:07, Nordlöw wrote: Is there a way to specify in dub.json (or any other file) that only a subset of the sources compiled and linked to a library or app should have they're unittests enabled? You can use the "unittest" configuration in Dub to add or remove files, but I don't

Selective unittesting in DUB

2016-12-21 Thread Nordlöw via Digitalmars-d-learn
Is there a way to specify in dub.json (or any other file) that only a subset of the sources compiled and linked to a library or app should have they're unittests enabled?