-
Notifications
You must be signed in to change notification settings - Fork 34
Test infrastructure
KochynVolodymyr edited this page Nov 28, 2023
·
3 revisions
| Tests | ||
|---|---|---|
| GTest |
|
- Identify files that can be unit-tested.
- How do we bootstrap the GUI ?
- To
- Integration tests
- Missing test harnesses,
- TCL commands equivalent of GUI user actions.
- 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?