374 reputation
15
bio website
location Bend, OR
age 32
visits member for 1 year
seen May 9 at 2:59
stats profile views 6

I like good design more than cool technology. Why am I working in software again?


May
6
awarded  Yearling
Mar
14
comment How to set up a Java project with unit tests, references and something like a VS .sln using IntelliJ
I'm happy to change it or move it, I just need some help with this problem. If those of you who vote to close can give me some feedback about the problem and guidance on what I should do, I would appreciate it.
Mar
14
asked How to set up a Java project with unit tests, references and something like a VS .sln using IntelliJ
Feb
19
answered Count true array elements
Feb
14
answered Style for creating IEnumerable unions
Feb
8
revised Write tests for unit tests in TDD?
added 348 characters in body
Feb
8
comment Write tests for unit tests in TDD?
But it isn't a test framework that is being created here. The biggest reason to make AnyFullHouse a method is so I can give it an explanatory name. if it was inlined, would people react the same way?
Feb
8
comment Write tests for unit tests in TDD?
+1 for "people make excuses as to why they fail" though. I haven't experienced that, but I also didn't think about this problem on the team-psychology dimension.
Feb
8
comment Write tests for unit tests in TDD?
Certainly. One might also implement AnyFullhouse by having 3 hardcoded FullHouse values, and picking one at random. The worst case scenario is some random value hits a test case you haven't thought of, and the test failure is a valid one. The nunit RepeatAttribute has always allowed me to find such failures very quickly.
Feb
7
awarded  Student
Feb
7
asked Write tests for unit tests in TDD?
Feb
4
answered Software Engineer in Test, Software Developer in Test, Software Development Engineer in Test
Feb
4
comment How should you TDD a Yahtzee game?
AnyFullHouse() is a method in a test case. Do you typically TDD your test cases? No. Also, it is much simpler to create a random exemplar of a full house (or any other roll) than it is to test for it's existence. Of course, if your test has a bug, it could be replicated in the production code. That's true of every test though.
Feb
3
answered How should you TDD a Yahtzee game?
Feb
3
comment How should you TDD a Yahtzee game?
This is a great answer.
Jan
14
awarded  Critic
Jan
2
answered How would type errors be detected while creating mocks in a dynamic language?
Nov
17
revised How to TDD test that objects are being added to a collection if the collection is private?
improved example based on feedback
Nov
17
comment How to TDD test that objects are being added to a collection if the collection is private?
Thanks for the feedback @MarjanVenema. I was hesitant to do that at first, because I had to make some guesses about what a character effect meant in the game, but I think it does add to the point nicely now that I see it. Does it make better sense to you now?
Nov
17
awarded  Editor