Nuno Maduro on Nostr: it's fine if some of your tests have duplicated code. copy-paste is allowed in tests, ...
it's fine if some of your tests have duplicated code. copy-paste is allowed in tests, and there's no need for "abstractions" in your test suite
Published at
2024-09-26 11:23:39Event JSON
{
"id": "7335436b6e318fd8929f1470900b015b9d0cf5f43d545b24ff64face5ac82588",
"pubkey": "e701351655361a7371d05878608ece8d562866d3f98ec056e1009a61a0c6b781",
"created_at": 1727349819,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/nunomaduro/statuses/113203597788780354",
"activitypub"
]
],
"content": "it's fine if some of your tests have duplicated code. copy-paste is allowed in tests, and there's no need for \"abstractions\" in your test suite",
"sig": "93b1649767f7de6b4654f4b3f0aa3829e3216e0385ffce385b9a0ee88387f2d36bb82fd0573c2c1390cf2bfee7721ebf8853430440781397bca31859eb5f8bb5"
}