Re: unit-threaded v0.7.45 - now with more fluency

2018-05-09 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-05-08 09:07, Nick Sabalausky (Abscissa) wrote: The question is: Why "should.equal" instead of "shouldEqual"? The dot only seems there to be cute. It scales better. This way only one "should" function is needed and one "not" function. Otherwise there would be a lot of duplication,

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-09 Thread bauss via Digitalmars-d-announce
On Wednesday, 9 May 2018 at 10:37:52 UTC, Cym13 wrote: On Wednesday, 9 May 2018 at 04:40:37 UTC, Nick Sabalausky (Abscissa) wrote: On 05/08/2018 05:05 AM, Cym13 wrote: [...] No, it really doesn't mean the same thing at all. Not when you look away from the unimportant implementation details

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-09 Thread Cym13 via Digitalmars-d-announce
On Wednesday, 9 May 2018 at 04:40:37 UTC, Nick Sabalausky (Abscissa) wrote: On 05/08/2018 05:05 AM, Cym13 wrote: [...] No, it really doesn't mean the same thing at all. Not when you look away from the unimportant implementation details and towards the big picture: [...] With UFCS I find

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-09 Thread bauss via Digitalmars-d-announce
On Saturday, 5 May 2018 at 15:51:11 UTC, Johannes Loher wrote: On Saturday, 5 May 2018 at 13:28:41 UTC, Atila Neves wrote: For those not in the know, unit-threaded is an advanced testing library for D that runs tests in threads by default. It has a lot of features:

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/08/2018 05:05 AM, Cym13 wrote: I wouldn't say it's an abuse, the dot means exactly the same thing as everywhere else in the language. No, it really doesn't mean the same thing at all. Not when you look away from the unimportant implementation details and towards the big picture:

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Dechcaudron via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 03:57:25 UTC, Johannes Loher wrote: Fluent assertions have one major advantage over using pascalCase assertions: There is no ambiuguity about the order of arguments. When using e.g. assertEquals, how do you know wheter is is supposed to be assertEquals(actual,

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Cym13 via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 07:07:30 UTC, Nick Sabalausky (Abscissa) wrote: On 05/07/2018 11:57 PM, Johannes Loher wrote: On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/07/2018 11:57 PM, Johannes Loher wrote: On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over `shouldEqual`. Also, what's with `all.these.identifiers`? Any particular reason

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-07 Thread Johannes Loher via Digitalmars-d-announce
On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: On Saturday, 5 May 2018 at 15:51:11 UTC, Johannes Loher wrote: Personally, I don't like that kind of "abuse" of operators at all. I think it looks really unusual and it kind of breaks your "flow" when reading the code. Additionally,

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-07 Thread Dechcaudron via Digitalmars-d-announce
On Saturday, 5 May 2018 at 15:51:11 UTC, Johannes Loher wrote: Personally, I don't like that kind of "abuse" of operators at all. I think it looks really unusual and it kind of breaks your "flow" when reading the code. Additionally, people, who don't know about the special behaviour the

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-05 Thread Johannes Loher via Digitalmars-d-announce
On Saturday, 5 May 2018 at 13:28:41 UTC, Atila Neves wrote: For those not in the know, unit-threaded is an advanced testing library for D that runs tests in threads by default. It has a lot of features: http://code.dlang.org/packages/unit-threaded New: * Bug fixes * Better integration

unit-threaded v0.7.45 - now with more fluency

2018-05-05 Thread Atila Neves via Digitalmars-d-announce
For those not in the know, unit-threaded is an advanced testing library for D that runs tests in threads by default. It has a lot of features: http://code.dlang.org/packages/unit-threaded New: * Bug fixes * Better integration testing * unitThreadedLight mode also runs tests in threads * More