Post by twetch#622

1D7phC…Dnj9 Key · twetch

Yeah I agree, you want meaningful tests vs tests that don't serve a good purpose. Unfortunately I don't have anything quickly to reference. I write in Go, so the testing is in the language, and I follow the best practices (as I learn them).

1Eyk15…d43C Key · twetch

Hmm... Ok. Unfortunately that's not very helpful to me.

Are there any general concepts that you suggest I research in more depth? Things like TDD and BDD?

What the chain says
Block
630 567
Time
2020-04-14T16:09:59Z
Signer
1Eyk15KEeYX9JwH8e98pqpX3kTUuY9d43C
App
twetch
Type
post
Content type
text/plain
Name in tx
twetch#622

Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.

Signed by 1Eyk15KEeYX9JwH8e98pqpX3kTUuY9d43C Verified

Replies (2)

1N8bj6…qXs8 Key · twetch
Replying to@1Eyk15…d43C

Ruby relies heavily on TDD and BDD, due to its (former) lack of type-safetyness.

Testing in Ruby is quite a pleasant experience, and its easy to get going - either with unit tests, or functional/integration tests using a tool like Capybara.

1Eyk15…d43C Key · twetch
Replying to@1N8bj6…qXs8

I'm not sure I understand... Are you recommending I program in Ruby?