-
Notifications
You must be signed in to change notification settings - Fork 32
Test infrastructure
KochynVolodymyr edited this page Nov 28, 2023
·
3 revisions
- Unittest
- Integration tests
- Using GTests for TCL interpreter classes
Notes:
- Identify files that can be unit-tested.
- How do we bootstrap the GUI?
- Integration tests
Notes:
- Missing test harnesses, TCL commands equivalent of GUI user actions.
Notes:
- Missing TCL commands for user interactions with each GUI screen.
- What we need to capture from GUI interactions?
- Every GUI action needs to be piped into journal logs.
We can write tcl test just to target a sub-gui,
FOEDAG/projnavigator_main.cpp at main · os-fpga/FOEDAG (github.com)
We can instantiate FOEDAG/newfilemodel.h at main · os-fpga/FOEDAG (github.com) and test createNewFile for e.g.. (Totally different topic of tests: Missing tcl commands to execute)
We can verify if a signal was emitted FOEDAG/new_file_dialog.cpp at main · os-fpga/FOEDAG (github.com)
Notes:
Why this pattern?
- C code to TCL code to C code?