Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
srbaker
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
srbaker
5y ago
I am a fan of pytest, and mightn't have thought to make the same thing in Python land.
2.
▲
by
srbaker
5y ago
Exactly this. My main point, I think, is that once people learned how to _think_ about these problems, they could be shown the "normal" syntax and it would click. This is why I thought it was valuable as a teaching tool, and not v
3.
▲
by
srbaker
5y ago
Like every human, even our mentors can be flawed. This one turned out to be an utter shit show who tried to take my own creations and make them his own. In his defense, he certainly had a hand in creating _me_, but he didn't have much
4.
▲
by
srbaker
5y ago
I think this format is the logical conclusion, and improvement over, mixing what are effectively global assertions on to every object. The ideal is a single method (call it `assert` if you want) that takes a block, and does the right thing,
5.
▲
by
srbaker
5y ago
I also find this fascinating. My thesis, if I have one, is that everyone learns and internalises things in different ways. And I just wanted to provide a new way of learning.
6.
▲
by
srbaker
5y ago
At first glance, I disagree with about half of what is written here. I honestly get the impression that whoever wrote this missed the point. :/
7.
▲
by
srbaker
5y ago
Thank you. I have received this kind of feedback from many, and I appreciate it. It makes my day.
8.
▲
by
srbaker
5y ago
It's true. This is why I never understood why people used RSpec for real software. It was only intended to teach people how to think.
9.
▲
by
srbaker
5y ago
A generic assert that fails on AssertionFailedException, and errors on all other exceptions is the ideal.
10.
▲
by
srbaker
5y ago
Absolutely. I got lucky with RSpec. I was doing the thing that was needed at the time. The thing that causes me a lot of angst is that I used to feel like I was "on the frontier." Skating to where the puck is going. These days? I
11.
▲
by
srbaker
5y ago
Thank you. This is what I'd hoped would be (at least partly) the reception of this.
12.
▲
by
srbaker
12y ago
I'd like to thank Jesse Cooke for pointing me at this. The history of RSpec is something that's often misunderstood by many folks.
13.
▲
by
srbaker
12y ago
That's not quite true. I created RSpec (in early 2005) to draw people's attention away from the word "test" because it was a huge hangup while I was teaching TDD. I kept hearing "You can't test something that d