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

Impelement Tests #27

Open
4 tasks done
zrgt opened this issue May 6, 2024 · 1 comment
Open
4 tasks done

Impelement Tests #27

zrgt opened this issue May 6, 2024 · 1 comment
Assignees

Comments

@zrgt
Copy link
Collaborator

zrgt commented May 6, 2024

Currently no automatic tests and CI/CDs for that are implemented. To improve the software quality we need to implement them.
We can start with the following tests:

  • Open AAS Manager
  • Open AASX/JSON/XML - Example file
  • Navigate through each cell in opened AASX/JSON/XML - Example file
  • Open and close edit dialog for each object in in opened AASX/JSON/XML - Example file

Tests need to be implemented and later a Github Action should be configured to run tests on each commit

@monsieuremre
Copy link
Collaborator

Now what we have:

  • Open a file (or don't, optional)
  • Iterating through the elements. If no file is there, then its just empty.
  • When it comes to submodels, pop up the add object dialog and add an example object.
  • Then delete this object by popping up the delete dialog and pressing ok.
  • For other sections open and close the add dialog but dont and any objects. (Shells, files, concept descriptors)

Additionally and optionally, we can choose a filled test file and edit objects there or pop open the edit dialogs.

But for now, we more or less test the very basic functionality of the program with this script.

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

No branches or pull requests

2 participants