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

Adding user interface for TCK Test execution #108

Merged

Conversation

agosh01
Copy link
Member

@agosh01 agosh01 commented Aug 8, 2024

Implemented a user-friendly graphical interface to enhance the usability of UP-TCK test execution.
Integrated key functionalities from the existing command-line tools into a cohesive and intuitive UI.
Added feature for executing tests directly from the interface
Added feature to view feature file in UI
Added output log and test reports

image

@agosh01 agosh01 force-pushed the feature/Add_user_interface branch 7 times, most recently from 340bb56 to 5b9238a Compare August 8, 2024 15:20
test_manager/UI.py Outdated Show resolved Hide resolved
@matthewd0123
Copy link
Contributor

matthewd0123 commented Aug 13, 2024

Getting an error when trying to run user_interface.py on windows. The UI will launch, but I'm seeing this error when attempting to run a test

Traceback (most recent call last): File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\site-packages\behave\__main__.py", line 187, in <module> sys.exit(main()) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\site-packages\behave\__main__.py", line 182, in main config = Configuration(args) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\site-packages\behave\configuration.py", line 626, in __init__ self.include_re = re.compile(self.include_re) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\re.py", line 252, in compile return _compile(pattern, flags) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\re.py", line 304, in _compile p = sre_compile.compile(pattern, flags) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\sre_compile.py", line 764, in compile p = sre_parse.parse(p, flags) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 948, in parse p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 443, in _parse_sub itemsappend(_parse(source, state, verbose, nested + 1, File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 525, in _parse code = _escape(source, this, state) File "C:\Users\gzm6xl\AppData\Local\Programs\Python\Python38\lib\sre_parse.py", line 375, in _escape raise source.error("incomplete escape %s" % escape, len(escape)) re.error: incomplete escape \u at position 10

Possible windows error?

image

@agosh01 agosh01 force-pushed the feature/Add_user_interface branch 4 times, most recently from 12723cb to 97054d7 Compare August 14, 2024 15:17
Copy link
Contributor

@matthewd0123 matthewd0123 left a comment

Choose a reason for hiding this comment

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

LGTM, was able to run all compatible tests (that is, not including L2), with python-socket. Few requests for the UI:

  1. Can we make the uProtocol logo smaller in the UI?
  2. Can we make it so that the launched window takes up a smaller part of the screen when launched.
  3. Bigger one, but would be nice to have the logs come through as the test run, or else have some indication that the test is in progress.

@neelam-kushwah
Copy link
Contributor

@agosh01 , Can we update the README with instructions on how to launch and use the user interface?

@agosh01
Copy link
Member Author

agosh01 commented Aug 14, 2024

@agosh01 , Can we update the README with instructions on how to launch and use the user interface?

Done

@neelam-kushwah neelam-kushwah merged commit 8d3de95 into eclipse-uprotocol:main Aug 14, 2024
3 checks passed
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