Commit Graph

44 Commits (51c22cfb940bd9660ec7c07b2d8e47840fdabc15)
 

Author SHA1 Message Date
Jordan Orelli 51c22cfb94 working on a g-counter example
Jordan Orelli e43149ab98 merging no longer mutates the env
Jordan Orelli 41d93e23ee still not hitting every env condition ugh
Jordan Orelli 6a1e87f67e more notes on how multiparent tests might work
Jordan Orelli 30bdf631c4 this match seems to work
I'm failing this match in my actual test code that I'm using at Jackbox
and I can't figure out why :( :( :(
Jordan Orelli 9924617e55 sync examples
Jordan Orelli a3346f59cc export a Passing type
I keep writing these one-off when I actually use tea. It seems like it's
worth including. It's especially useful for the root test, where you
don't necessarily want to create a test, but want to create a starting
environment. Exporting a type that always passes is preferrable to
making an explicit environment type, since we can maintain our
guarantees that our environment isn't an invalid value.
Jordan Orelli 7f8a3d64b9 this is slightly clearer
by slightly i mean a lot
Jordan Orelli 894bebdfc8 paralell tests are easy too huh.
Jordan Orelli 849990d37b a bit like a table-driven test huh
Jordan Orelli ef32839cd4 be explicit damn
Jordan Orelli e7c4ebf7fd duh we want the verbose output
Jordan Orelli 31687f1014 update example
Jordan Orelli 5b2bbf2899 add a license
Jordan Orelli 289535e438 honestly don't know if this is OK or not
adding a nested Go modules file because I don't want to update tea's
go.mod file when the examples are run. I don't want to accidentally
check them in.
Jordan Orelli da8a879f65 removing the old examples
Jordan Orelli e4c2ecd0e9 include output in examples
Jordan Orelli 989bb7746d an example
Jordan Orelli 6f26a9018c documentation
Jordan Orelli 7bbaa6d8ed skip loading fields that are already populated
Jordan Orelli 765d13bb19 hm load failures aren't handled
Jordan Orelli 814dbea1bb field matching
Jordan Orelli e1fc2529e9 we gettin crazy now
Jordan Orelli 96d2a13aa7 use test name
Jordan Orelli 1e1bbcd3d9 env uses layers
Jordan Orelli decbb52f26
add a readme
a readme now exists
Jordan Orelli 429d5bd735 after should use what was exec'd
Jordan Orelli 55f1d5e315 define the After interface
Jordan Orelli 7541919fc9 remove this old Fn thing
Jordan Orelli 312ac7dfd6 i guess i should have a module file
Jordan Orelli 56a16d36db flip all the files around
Jordan Orelli 259a72f45b remove this merge thing, we're not doing that now
Jordan Orelli 3b7a04daa9 cleaned up some sloppiness
Jordan Orelli d523c73690 defined env type
the env type represents a test environment. This was added as an
intermediate container that could store the saved fields of tests after
they're run, so that future tests could load them. Previously a test
could only get the attributes of the test that immediately preceded it.
This change allows tests to load attributes further back in the history.
Jordan Orelli 2c68d4dbd5 can copy field values between successive tests
this isn't going to work permanently, if there's a save field in one
test, then an intermediate test without that field, then a load field,
it won't be visible at the end test.
Jordan Orelli 2853ecfb38 clone supplied test values when running setup
Jordan Orelli 6ef7afe907 fix skip recursion
Jordan Orelli e3d906b28c setup steps are in correct subtest now
Jordan Orelli a1fcf02abf remove old plan code
Jordan Orelli 32e73e2626 walk tree without that plan routine
Jordan Orelli a367c31d12 hmm construct names manually?
Jordan Orelli c8f08097f5 create a failing subtree
Jordan Orelli 094ecccb5a failure causes dependent tests to be skipped
Jordan Orelli 10508bceeb get this shit started