Skip to content
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

refactor(cli/js/testing): Reduce testing interfaces #4451

Merged
merged 26 commits into from
Apr 1, 2020

Conversation

nayeemrmn
Copy link
Collaborator

@nayeemrmn nayeemrmn commented Mar 21, 2020

Ref #4450, cc @ry @bartlomieju

All interfaces added in recent changes squashed into TestMessage. TestFunction is removed.

@ry
Copy link
Member

ry commented Mar 21, 2020

+1 for me but I'll leave it to @bartlomieju to approve and merge.

I think this is a nice intermediate clean up, but it might be able to be simplified even further in future PRs.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-1 from me on this PR at the moment.

There's a lot of changes and renames, but there's no reduction in exported interfaces from Deno namespace, plus there's a bunch of changes to behavior of Deno.runTests().

cli/js/testing.ts Outdated Show resolved Hide resolved
cli/js/testing.ts Show resolved Hide resolved
cli/js/lib.deno.ns.d.ts Show resolved Hide resolved
cli/js/testing.ts Outdated Show resolved Hide resolved
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @nayeemrmn, let's iterate on testing API further after we land this one. Sorry for slow review.

cli/js/testing.ts Show resolved Hide resolved
cli/js/testing.ts Show resolved Hide resolved
@bartlomieju bartlomieju merged commit 270e87d into denoland:master Apr 1, 2020
@nayeemrmn nayeemrmn deleted the test-api branch April 1, 2020 11:56
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 21, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Feb 1, 2021
* Reduce "testing" interfaces
* Use a callback instead of a generator for Deno.runTests()
* Default RunTestsOptions::reportToConsole to true
* Compose TestMessage into a single interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants