-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement test steps API #11901
Comments
The RFC you link (#10771) is a long conversation with a lot of contracting concepts. Which one exactly do you propose to implement? |
What's outlined in the main post. See |
Are you going to implement the Tester class? Otherwise, I don't understand to what end. |
We're implementing what's outlined in the RFC at #10771 (so yes, because the |
This is fairly confusing. |
This is a temporary implementation detail. No decision has been made in this regard (as stated above, we will make a decision on this later). |
Okay sure but it's a big one. The style of the API doesn't really matter at all, but when the tests are registered and executed does since we have already established a test runner with deferred execution. e.g, in e.g in https://gist.github.com/caspervonb/62db35a0cc9532dc618b96fcda205576 the convenience function provides you with an imperative style but it is still deferred execution with the same semantics as top level tests. Immediately executing user controlled tests still fundamentally clash with how regular top level tests actually work with deferred runner controlled and throttled execution so I'm very confused as to how we are planning on making deferred test execution live in deno.land/std or deno.land/x. Are we throwing out the test runner completely now and going immediate execution all the way? This seems to be really at odds with what I've been building out for the past few months. We can do immediate steps with reporting and that can live anywhere but we can't build Both proposals leave many questions open, including but not limited to:
|
Just to simplify and clarify my main concern which is the ability to control execution in the test runner. |
|
Thanks @lucacasonato, so this is still just test steps that's slightly less confusing. Altho still see no practical use for metadata and don't understand it's purpose as we can filter just fine without it.
This bit is still confusing tho as one just cannot have tightly integrated deferred execution in user land. |
@dsherret can this issue be closed now? |
@bartlomieju yeah, we can decide on next steps later. |
We're going to start work on a prototype of the test steps API.
The text was updated successfully, but these errors were encountered: