Matthew Martin ☑ on Nostr: I think if there was an integration test tool, it would: - Have 1 tool per thing that ...
I think if there was an integration test tool, it would:
- Have 1 tool per thing that holds state (db, redis, file system)
- That tool would reset state between runs
(Fixtures exist but those are place you can put code, not the code that goes in a fixture)
Now I'm going to go search pypi and see if this idea has already been done 25 times
Published at
2024-05-23 12:43:16Event JSON
{
"id": "3463e6cf7708b7cae33bf86b6ff532fe9c2de2173311afd25ca314fc5daf9c8f",
"pubkey": "6c79e5c5386ee1cbe5b80303c40f8d781831ef78b63ce76c726c3c0b47f622de",
"created_at": 1716468196,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@mistersql/112490459744987306",
"web"
],
[
"p",
"6c79e5c5386ee1cbe5b80303c40f8d781831ef78b63ce76c726c3c0b47f622de"
],
[
"e",
"3f065aaef91e7f34324dee68f557960a8cf5837629f8250af3b93c90b3040b44",
"",
"root"
],
[
"proxy",
"https://mastodon.social/users/mistersql/statuses/112490459744987306",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/mistersql/statuses/112490459744987306",
"pink.momostr"
]
],
"content": "I think if there was an integration test tool, it would:\n- Have 1 tool per thing that holds state (db, redis, file system)\n- That tool would reset state between runs\n\n(Fixtures exist but those are place you can put code, not the code that goes in a fixture)\n\nNow I'm going to go search pypi and see if this idea has already been done 25 times",
"sig": "622ae122672f343e0591ab2723f96b8952d4ac0bef82e0e81b4384ce71a6843393ff1d7b3be8bbdf1308c4cbc19b2cc2d13f40423dc7696762dd862a7f19a8d5"
}