Re: selective tests

2019-10-12 Thread Seb via Digitalmars-d-learn
On Saturday, 12 October 2019 at 13:50:46 UTC, IGotD- wrote: On Saturday, 12 October 2019 at 09:52:59 UTC, Jonathan M Davis wrote: [...] This would be helpful. About all C++ unit test frameworks have named test and you can select a specific one or several in the command line. Very useful when

Re: selective tests

2019-10-12 Thread IGotD- via Digitalmars-d-learn
On Saturday, 12 October 2019 at 09:52:59 UTC, Jonathan M Davis wrote: On Saturday, October 12, 2019 2:18:02 AM MDT Martin Brezeln via Digitalmars- d-learn wrote: Is it possible to execute only certain modules or tests which are defined in certain directories? For example, in go one can run "go

Re: selective tests

2019-10-12 Thread Dennis via Digitalmars-d-learn
On Saturday, 12 October 2019 at 09:52:59 UTC, Jonathan M Davis wrote: You could set up your build so that you had targets which only compiled specific directories so that the only unit tests that were run were the ones in those directories, but I don't think that it's possible to do anything li

Re: selective tests

2019-10-12 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, October 12, 2019 2:18:02 AM MDT Martin Brezeln via Digitalmars- d-learn wrote: > Is it possible to execute only certain modules or tests which are > defined in certain directories? > > For example, in go one can run "go test ./XYZ" to execute ony > tests in ./XYZ or "go test ./..." to

selective tests

2019-10-12 Thread Martin Brezeln via Digitalmars-d-learn
Is it possible to execute only certain modules or tests which are defined in certain directories? For example, in go one can run "go test ./XYZ" to execute ony tests in ./XYZ or "go test ./..." to execute all the tests in and under the current directory. Please don't get me wrong, i do not w