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

test: Native Render #1059

Draft
wants to merge 15 commits into
base: development
Choose a base branch
from
Draft

test: Native Render #1059

wants to merge 15 commits into from

Conversation

paulhazen
Copy link
Collaborator

@paulhazen paulhazen commented Dec 16, 2024

The following PR adds unit tests that confirm the equivalency of config values as read from the native and managed components of the plugin.

Important

This PR has been moved to draft pending an internal discussion regarding the best testing framework to utilize.

#EOS-1982

…stead of pointers to values - and update the test suite to test not just eos sdk initialize options but also platform create options.
@paulhazen paulhazen added enhancement New feature or request unit-testing PRs that introduce additional Unit Testing labels Dec 16, 2024
@paulhazen paulhazen self-assigned this Dec 16, 2024
@paulhazen paulhazen changed the base branch from development to fix/native-use-new-config December 16, 2024 02:16
@paulhazen paulhazen marked this pull request as ready for review December 16, 2024 02:17
@arthur740212
Copy link
Collaborator

arthur740212 commented Dec 17, 2024

Not so comfortable that the solution requires the test to compile.

The solution only requires the tests to compile if in Debug mode - otherwise the Test project is not required.

I feel like a test like this is better in a separate solution.

It's standard practice to put test projects in the same solution as the projects that they are designed to test.

Also there is an extra .net 4.8 dependency introduced somewhere that I'm not quite sure why.

That dependency is only for ManagedPluginCode, which is an existing dependency not introduced by this PR.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe we need to discuss testing frameworks.

@paulhazen paulhazen marked this pull request as draft December 18, 2024 19:59
@paulhazen paulhazen changed the base branch from fix/native-use-new-config to development December 21, 2024 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request unit-testing PRs that introduce additional Unit Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants