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

expand ui test suite #74

Open
7 tasks
nikomatsakis opened this issue May 18, 2023 · 1 comment
Open
7 tasks

expand ui test suite #74

nikomatsakis opened this issue May 18, 2023 · 1 comment
Labels
good first issue Good for newcomers
Milestone

Comments

@nikomatsakis
Copy link
Member

nikomatsakis commented May 18, 2023

Currently we are rather lacking in "unit tests" (or rather, integration tests that are narrowly targeted). This issue tracks a checklist of arrays where we could use more targeted ui tests:

  • signature of java functions matches the declaration in the Rust code
  • transitive upcasts: do we generate the right lists, given A extends B extends C extends D, can we upcast directly from A to C or D?
  • overloaded or duplicate methods generate some kind of error
  • test for edge cases in method dispatch #80
  • tests for fields (there are tests in the viper. test)
  • tests for enum derive with complicated inheritance, check that we test in the right order (see this Zulip comment for some more details)
  • tests for a helper function that creates and returns a impl IntoJava like this one; that function is a good test, but it is kind of a "helper function" to other tests, it'd be nice to have a dedicated UI test for it
@nikomatsakis nikomatsakis changed the title thorough test suite expand ui test suite May 18, 2023
@nikomatsakis nikomatsakis added this to the Release 0.2 milestone Jun 1, 2023
@nikomatsakis nikomatsakis added the good first issue Good for newcomers label Jun 1, 2023
@bowemi
Copy link
Contributor

bowemi commented Jul 3, 2024

#169

Adds some testing for the first checkbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants