Skip to content

Commit d547097

Browse files
committed
Fixed fonts, updated readme
1 parent 9fc70b3 commit d547097

4 files changed

Lines changed: 52 additions & 41 deletions

File tree

README.md

Lines changed: 42 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,57 @@ A user-friendly desktop application to edit test cases for keyword-driven testin
44

55
![Test Case Editor Application](test_editor-sample-workspace.png)
66

7-
87
![License](https://img.shields.io/badge/license-GPL-blue.svg)
98

109
## Features
11-
* **Basic Spreadsheet Suite:** All the basic spreadsheet editing features you are used to.
12-
* **MultiTab Functionality:** MultiTab function to actively open and edit multiple tests.
13-
* **Custom File Explorer:** Custom built file explorer to move through project files.
14-
* **Command Manager:** Cross-file Command(functions)/Objects retrieval with dropdown in table for ease of use.
15-
* **Auto Update ID:** Auto Update ID (when inserting or removing rows).
16-
* **Clean UI:** Clean and professional Dark mode UI/Light mode in the works.
17-
* **Excel File Support:** Edit standard (`.xlsx`) test case files.
10+
11+
* **Basic Spreadsheet Suite:** All the basic spreadsheet editing features you are used to.
12+
* **MultiTab Functionality:** MultiTab function to actively open and edit multiple tests.
13+
* **Custom File Explorer:** Custom built file explorer to move through project files.
14+
* **Command Manager:** Cross-file Command(functions)/Objects retrieval with dropdown in table for ease of use.
15+
* **Auto Update ID:** Auto Update ID (when inserting or removing rows).
16+
* **Clean UI:** Clean and professional Dark mode UI/Light mode in the works.
17+
* **Excel File Support:** Edit standard (`.xlsx`) test case files.
1818

1919
## Upcoming Features
20-
* **Run:** Run TestCases directly from editor.
21-
* **Test Step Generation Logic:** Command-based assistance.
22-
* **Light Mode:** Light theme option for different preferences.
20+
21+
* **Run:** Run TestCases directly from editor.
22+
* **Test Step Generation Logic:** Command-based assistance.
23+
* **Light Mode:** Light theme option for different preferences.
2324

2425
## Known Issues
25-
* **Excel Coppatability:** Some files take longer than expected to load(suspect formating further testing required).
26+
27+
* **Excel Coppatability:** Some files take longer than expected to load(suspect formating further testing required).
2628

2729
## Installation
2830

2931
### Method 1: Download Ready-to-Run Executable (Recommended)
3032

3133
1. **Go to the Releases Page:**
32-
- Visit: [https://github.com/darginmathi/Test-Editor/releases](https://github.com/darginmathi/Test-Editor/releases)
34+
* Visit: [https://github.com/darginmathi/Test-Editor/releases](https://github.com/darginmathi/Test-Editor/releases)
3335

3436
2. **Download the Latest Version:**
35-
- Look for the latest release (e.g., "v1.0.0").
36-
- Under "Assets," click to download `TestEditor.exe`
37+
* Look for the latest release (e.g., "v1.0.0").
38+
* Under "Assets," click to download `TestEditor.exe`
3739

3840
3. **Run the Application:**
39-
- Double-click the downloaded `.exe` file
40-
- If Windows shows a security warning, click "More info" and then "Run anyway"
41+
* Double-click the downloaded `.exe` file
42+
* If Windows shows a security warning, click "More info" and then "Run anyway"
4143

4244
### Method 2: For Advanced Users (Building from Source)
45+
4346
If a pre-made .exe is not available, you can build it yourself using the instructions below.
4447

4548
1. **Prerequisites:**
46-
- [Python](https://www.python.org/)
49+
* [Python](https://www.python.org/)
50+
4751
```bash
4852
pip install uv
4953
uv pip install pyinstaller
5054
```
5155

5256
2. **Build from Source:**
57+
5358
```bash
5459
git clone https://github.com/darginmathi/Test-Editor
5560
cd Test-Editor
@@ -64,19 +69,21 @@ If a pre-made .exe is not available, you can build it yourself using the instruc
6469

6570
This project uses the following major libraries:
6671

67-
* [PyQt6](https://www.riverbankcomputing.com/static/Docs/PyQt6/)
68-
* [pandas](https://pandas.pydata.org/)
69-
* [openpyxl](https://openpyxl.readthedocs.io/en/stable/)
72+
* [PyQt6](https://www.riverbankcomputing.com/static/Docs/PyQt6/)
73+
* [pandas](https://pandas.pydata.org/)
74+
* [openpyxl](https://openpyxl.readthedocs.io/en/stable/)
7075

7176
## Getting Started
7277

7378
### Setting Up
74-
- **Files -> Open Files**
79+
80+
* **Files -> Open Files**
7581
> Select the data directory.
7682

77-
- **Use the built-in file explorer** to navigate to your project folder.
83+
* **Use the built-in file explorer** to navigate to your project folder.
7884
> Expected Project structure:
79-
```
85+
86+
```file structure
8087
data/
8188
├── testSuits/
8289
│ └── <yourproject>
@@ -86,20 +93,25 @@ This project uses the following major libraries:
8693
└── ObjRep_Module_<your_module>_Test.xlsx
8794
```
8895

89-
- **Files -> Open File**
96+
* **Files -> Open File**
9097
> Open an existing TestSuit/ObjectRepository (`.xlsx`) combo.
9198

92-
- **Files -> New File**
99+
* **Files -> New File**
93100
> Create New TestSuit/ObjectRepository (`.xlsx`) combo with preset.
94101

95-
- Start editing with the intuitive spreadsheet interface
96-
- Use the multi-tab feature to work on multiple test files simultaneously.
97-
98-
- **Edit -> Generate Test Cases**
102+
* **Edit -> Generate Test Cases**
99103
> Generate steps performed and expected result based on the command, object and value.
100104

105+
* Start editing with the intuitive spreadsheet interface
106+
107+
* Use the multi-tab feature to work on multiple test files simultaneously.
108+
109+
* auto merge description cells based on commands "StartScenario" and "EndScenario"
110+
101111
## Contributing
112+
102113
We welcome contributions! Please feel free to submit pull requests, report bugs, or suggest new features.
103114

104115
## License
116+
105117
This project is licensed under the GPL License - see the LICENSE file for details.

ui/styles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_stylesheet(theme_name="dark"):
6060
return f"""
6161
/* Global */
6262
QWidget {{
63-
font-family "Courier New", "Calibri", "Arial", sans-serif;
63+
font-family: "Segoe UI";
6464
font-size: 16px;
6565
color: {colors["TEXT_MUTED"]};
6666
background-color: {colors["BG_DARK"]};

ui/tab.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,16 @@ def close_tab(self):
104104
return True
105105

106106
def apply_zoom(self, font_size):
107-
current_font = self.font()
108-
new_font = QFont(current_font)
109-
new_font.setPointSize(font_size)
110107

111-
self.table1.table.setFont(new_font)
112-
self.table2.table.setFont(new_font)
108+
style = f"font-size: {font_size}px;"
113109

114-
self.table1.table.horizontalHeader().setFont(new_font)
115-
self.table1.table.verticalHeader().setFont(new_font)
116-
self.table2.table.horizontalHeader().setFont(new_font)
117-
self.table2.table.verticalHeader().setFont(new_font)
110+
self.table1.table.setStyleSheet(style)
111+
self.table2.table.setStyleSheet(style)
112+
113+
self.table1.table.horizontalHeader().setStyleSheet(style)
114+
self.table1.table.verticalHeader().setStyleSheet(style)
115+
self.table2.table.horizontalHeader().setStyleSheet(style)
116+
self.table2.table.verticalHeader().setStyleSheet(style)
118117

119118
self.table1.auto_adjust_cells()
120119
self.table2.auto_adjust_cells()

ui/window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self):
2020
self.resize(1600, 900)
2121
self.showMaximized()
2222

23-
self.current_font_size = 12
23+
self.current_font_size = 16
2424
self.base_font_size = self.current_font_size
2525
self.current_connected_stack = None
2626
self.last_find_index = QModelIndex()

0 commit comments

Comments
 (0)