This lookupIx function is very novel, is this testing folklore, or a new invention?
-
-
-
It think it may well be a new invention? It's something I've been thinking about for a little while though. I was using the Hedgehog state-machine testing stuff in prod and have been very unsatisfied with how complicated it is to use.
- Još 8 drugih odgovora
Novi razgovor -
-
-
Nice post! Have to rewrite the course now. :) Do you use the blogged technique over the Command api in Hedgehog ?
-
In a way, so my team at work recently used the Command api in Hedgehog, but ended up being drawn towards putting everything in the Model anyway (like the article) and didn't use the Var machinery as it was intended.
- Još 10 drugih odgovora
Novi razgovor -
-
-
I really like the tone you struck here: maintain enthusiasm while acknowledging difficulty. One complaint I had is I’m leery of the model becoming a big hairball reimplementation of both the db and the app logic, so I would have liked to see the active user fix in the app!
-
Yes, good idea, I think a part 2 continuing where I left off might be warranted. Updating user info would also be interesting I think. If their email address is updated that interacts nicely with the unique email requirement.
- Još 1 odgovor
Novi razgovor -
-
-
This isn't about Hedgehog's state-machine testing, but a simpler way to solve the same problem. The inspiration is this comment by
@saurabhnanda asking about how to "get the id of a previously-created user"https://github.com/hedgehogqa/haskell-hedgehog/issues/312#issuecomment-553330544 …Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
I should note that the ideas presented here will probably work with QuickCheck and even IORef instead of MonadState, I haven't tried either of these things though.
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
This type of content is sorely needed - thank you so much for taking the time to write this!
-
I hope it gives people enough of a nugget to run with! It still uses a toy example as a vehicle, but it does have all the ingredients of the issues you run into trying to test this stuff.
Kraj razgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.