Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 03, 2012 [Issue 7213] New: @disable should be useable to deactivate unittests | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7213 Summary: @disable should be useable to deactivate unittests Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: dawg@dawgfoto.de --- Comment #0 from dawg@dawgfoto.de 2012-01-03 14:40:48 PST --- unittest @disable { } @disable unittest { } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 03, 2012 [Issue 7213] @disable should be useable to deactivate unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | http://d.puremagic.com/issues/show_bug.cgi?id=7213 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2012-01-03 14:53:21 PST --- That's what version(none) is for. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 30, 2013 [Issue 7213] @disable should be useable to deactivate unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | http://d.puremagic.com/issues/show_bug.cgi?id=7213 monarchdodra@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |monarchdodra@gmail.com --- Comment #2 from monarchdodra@gmail.com 2013-08-30 00:20:56 PDT --- (In reply to comment #1) > That's what version(none) is for. I read the title, and I was going to say the same thing. Can we close this as wontfix? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 30, 2013 [Issue 7213] @disable should be useable to deactivate unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | http://d.puremagic.com/issues/show_bug.cgi?id=7213 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #3 from yebblies <yebblies@gmail.com> 2013-08-30 18:09:42 EST --- This has some advantages over version(none): - the unittest is still compiled, just not executed - a test runner could print a message for the disabled unittest -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 30, 2013 [Issue 7213] @disable should be useable to deactivate unittests | ||||
---|---|---|---|---|
| ||||
Posted in reply to dawg@dawgfoto.de | http://d.puremagic.com/issues/show_bug.cgi?id=7213 --- Comment #4 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-08-30 06:36:32 PDT --- (In reply to comment #3) > This has some advantages over version(none): > > - the unittest is still compiled, just not executed > - a test runner could print a message for the disabled unittest Good points. Also, since it's semantically analyzed it will catch compile-time errors. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation