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

CAST Node testing #570

Closed
jastier opened this issue Oct 12, 2023 · 1 comment · Fixed by #583
Closed

CAST Node testing #570

jastier opened this issue Oct 12, 2023 · 1 comment · Fixed by #583
Assignees
Labels
Code2FN enhancement New feature or request lang/MATLAB Used for work related to MATLAB frontend tests Issues related to existing or additional tests

Comments

@jastier
Copy link
Contributor

jastier commented Oct 12, 2023

Refactor MATLAB tests to use CAST Node objects instead of python dictionaries.
This will create tests similar to what is being done now.

@jastier jastier added enhancement New feature or request Code2FN tests Issues related to existing or additional tests lang/MATLAB Used for work related to MATLAB frontend labels Oct 12, 2023
@jastier jastier self-assigned this Oct 12, 2023
@github-project-automation github-project-automation bot moved this to TODO in skema Oct 12, 2023
@jastier jastier moved this from TODO to In Progress in skema Oct 12, 2023
@jastier jastier added this to the [DARPA] Milestone 10 milestone Oct 12, 2023
@jastier jastier moved this from In Progress to Planned in skema Oct 13, 2023
@jastier jastier moved this from Planned to In Progress in skema Oct 17, 2023
@jastier jastier linked a pull request Oct 17, 2023 that will close this issue
@jastier
Copy link
Contributor Author

jastier commented Oct 17, 2023

This issue will be resolved by PR #583

jastier added a commit that referenced this issue Oct 20, 2023
## Testing of MATLAB idioms using CAST structures
This PR is a refactor of the original test plan where MATLAB parser
output was tested as a python dictionary. CAST testing uses fewer lines
of code to achieve the same results and follows existing SKEMA test
plans.

## Relevant Features
- CAST elements are used to test MATLAB idioms
- Source code is now defined within each test file
- The test file data directory is no longer needed and has been removed
- The MATLAB parser now takes file or string source code input

## Related Issues
- Completes issue #570

---------

Co-authored-by: Joseph Astier <[email protected]>
@github-project-automation github-project-automation bot moved this from In Progress to Done in skema Oct 20, 2023
github-actions bot added a commit that referenced this issue Oct 20, 2023
## Testing of MATLAB idioms using CAST structures
This PR is a refactor of the original test plan where MATLAB parser
output was tested as a python dictionary. CAST testing uses fewer lines
of code to achieve the same results and follows existing SKEMA test
plans.

## Relevant Features
- CAST elements are used to test MATLAB idioms
- Source code is now defined within each test file
- The test file data directory is no longer needed and has been removed
- The MATLAB parser now takes file or string source code input

## Related Issues
- Completes issue #570

---------

Co-authored-by: Joseph Astier <[email protected]> 52de34d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code2FN enhancement New feature or request lang/MATLAB Used for work related to MATLAB frontend tests Issues related to existing or additional tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant