nextog-cli 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. nextog_cli-1.0.0/PKG-INFO +344 -0
  2. nextog_cli-1.0.0/README.md +288 -0
  3. nextog_cli-1.0.0/nextog/__init__.py +4 -0
  4. nextog_cli-1.0.0/nextog/cli.py +545 -0
  5. nextog_cli-1.0.0/nextog/config/__init__.py +1 -0
  6. nextog_cli-1.0.0/nextog/config/settings.py +132 -0
  7. nextog_cli-1.0.0/nextog/core/__init__.py +1 -0
  8. nextog_cli-1.0.0/nextog/core/engine.py +193 -0
  9. nextog_cli-1.0.0/nextog/core/permissions.py +129 -0
  10. nextog_cli-1.0.0/nextog/core/privacy.py +130 -0
  11. nextog_cli-1.0.0/nextog/core/reporter.py +204 -0
  12. nextog_cli-1.0.0/nextog/core/runner.py +236 -0
  13. nextog_cli-1.0.0/nextog/data/__init__.py +1 -0
  14. nextog_cli-1.0.0/nextog/data/local_db.py +367 -0
  15. nextog_cli-1.0.0/nextog/data/models.py +72 -0
  16. nextog_cli-1.0.0/nextog/data/sync.py +65 -0
  17. nextog_cli-1.0.0/nextog/engines/__init__.py +1 -0
  18. nextog_cli-1.0.0/nextog/engines/api/__init__.py +1 -0
  19. nextog_cli-1.0.0/nextog/engines/api/graphql.py +54 -0
  20. nextog_cli-1.0.0/nextog/engines/api/rest.py +346 -0
  21. nextog_cli-1.0.0/nextog/engines/api/websocket.py +59 -0
  22. nextog_cli-1.0.0/nextog/engines/embedded/__init__.py +1 -0
  23. nextog_cli-1.0.0/nextog/engines/embedded/firmware.py +53 -0
  24. nextog_cli-1.0.0/nextog/engines/embedded/hardware.py +330 -0
  25. nextog_cli-1.0.0/nextog/engines/mobile/__init__.py +1 -0
  26. nextog_cli-1.0.0/nextog/engines/mobile/android.py +333 -0
  27. nextog_cli-1.0.0/nextog/engines/mobile/cross.py +48 -0
  28. nextog_cli-1.0.0/nextog/engines/mobile/ios.py +46 -0
  29. nextog_cli-1.0.0/nextog/engines/system/__init__.py +1 -0
  30. nextog_cli-1.0.0/nextog/engines/system/load.py +121 -0
  31. nextog_cli-1.0.0/nextog/engines/system/performance.py +128 -0
  32. nextog_cli-1.0.0/nextog/engines/system/security.py +170 -0
  33. nextog_cli-1.0.0/nextog/engines/web/__init__.py +1 -0
  34. nextog_cli-1.0.0/nextog/engines/web/accessibility.py +191 -0
  35. nextog_cli-1.0.0/nextog/engines/web/browser.py +387 -0
  36. nextog_cli-1.0.0/nextog/engines/web/elements.py +285 -0
  37. nextog_cli-1.0.0/nextog/engines/web/responsive.py +79 -0
  38. nextog_cli-1.0.0/nextog/live/__init__.py +1 -0
  39. nextog_cli-1.0.0/nextog/live/dashboard.py +30 -0
  40. nextog_cli-1.0.0/nextog/live/panel.py +325 -0
  41. nextog_cli-1.0.0/nextog/reports/__init__.py +1359 -0
  42. nextog_cli-1.0.0/nextog/training/__init__.py +1 -0
  43. nextog_cli-1.0.0/nextog/training/learner.py +269 -0
  44. nextog_cli-1.0.0/nextog/training/patterns.py +102 -0
  45. nextog_cli-1.0.0/nextog/utils/__init__.py +1 -0
  46. nextog_cli-1.0.0/nextog/utils/helpers.py +91 -0
  47. nextog_cli-1.0.0/nextog/utils/logger.py +37 -0
  48. nextog_cli-1.0.0/nextog/utils/validators.py +98 -0
  49. nextog_cli-1.0.0/nextog_cli.egg-info/PKG-INFO +344 -0
  50. nextog_cli-1.0.0/nextog_cli.egg-info/SOURCES.txt +57 -0
  51. nextog_cli-1.0.0/nextog_cli.egg-info/dependency_links.txt +1 -0
  52. nextog_cli-1.0.0/nextog_cli.egg-info/entry_points.txt +2 -0
  53. nextog_cli-1.0.0/nextog_cli.egg-info/requires.txt +34 -0
  54. nextog_cli-1.0.0/nextog_cli.egg-info/top_level.txt +1 -0
  55. nextog_cli-1.0.0/pyproject.toml +92 -0
  56. nextog_cli-1.0.0/setup.cfg +4 -0
  57. nextog_cli-1.0.0/tests/test_cli.py +41 -0
  58. nextog_cli-1.0.0/tests/test_engine.py +46 -0
  59. nextog_cli-1.0.0/tests/test_runner.py +44 -0
@@ -0,0 +1,344 @@
1
+ Metadata-Version: 2.4
2
+ Name: nextog-cli
3
+ Version: 1.0.0
4
+ Summary: nextOG CLI - Full QA Testing Automation Tool for Web, Mobile, API & Embedded Systems
5
+ Author-email: nextOG Team <dev@nextog.io>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/WAH-ISHAN/NEXTOG_CLI
8
+ Project-URL: Repository, https://github.com/WAH-ISHAN/NEXTOG_CLI.git
9
+ Project-URL: Documentation, https://github.com/WAH-ISHAN/NEXTOG_CLI#readme
10
+ Project-URL: Bug Tracker, https://github.com/WAH-ISHAN/NEXTOG_CLI/issues
11
+ Keywords: testing,qa,automation,cli,web-testing,mobile-testing,api-testing
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Topic :: Software Development :: Testing
22
+ Classifier: Topic :: Software Development :: Quality Assurance
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ Requires-Dist: typer[all]>=0.9.0
26
+ Requires-Dist: rich>=13.0.0
27
+ Requires-Dist: playwright>=1.40.0
28
+ Requires-Dist: httpx>=0.25.0
29
+ Requires-Dist: sqlalchemy>=2.0.0
30
+ Requires-Dist: cryptography>=41.0.0
31
+ Requires-Dist: pyyaml>=6.0
32
+ Requires-Dist: pydantic>=2.0.0
33
+ Requires-Dist: jinja2>=3.1.0
34
+ Requires-Dist: fastapi>=0.104.0
35
+ Requires-Dist: uvicorn>=0.24.0
36
+ Requires-Dist: websockets>=12.0
37
+ Requires-Dist: click>=8.1.0
38
+ Requires-Dist: python-dotenv>=1.0.0
39
+ Requires-Dist: tabulate>=0.9.0
40
+ Requires-Dist: halo>=0.0.31
41
+ Requires-Dist: tqdm>=4.66.0
42
+ Requires-Dist: psutil>=5.9.0
43
+ Requires-Dist: pytest>=7.4.0
44
+ Requires-Dist: openpyxl>=3.1.0
45
+ Requires-Dist: psutil>=5.9.0
46
+ Provides-Extra: mobile
47
+ Requires-Dist: Appium-Python-Client>=3.0.0; extra == "mobile"
48
+ Provides-Extra: all
49
+ Requires-Dist: nextog-cli[mobile]; extra == "all"
50
+ Provides-Extra: dev
51
+ Requires-Dist: pytest>=7.4.0; extra == "dev"
52
+ Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
53
+ Requires-Dist: black>=23.0.0; extra == "dev"
54
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
55
+ Requires-Dist: mypy>=1.5.0; extra == "dev"
56
+
57
+ # 🚀 nextOG CLI
58
+
59
+ **Full QA Testing Automation CLI Tool**
60
+
61
+ > Web Apps • Mobile Apps • Embedded Systems • Web Systems — All-in-One Testing
62
+
63
+ ![Version](https://img.shields.io/badge/version-1.0.0-blue)
64
+ ![Python](https://img.shields.io/badge/python-3.9+-green)
65
+ ![License](https://img.shields.io/badge/license-MIT-yellow)
66
+
67
+ ---
68
+
69
+ ## ✨ Features
70
+
71
+ - 🌐 **Web Testing** — Playwright-based: responsive, accessibility, cross-browser, performance
72
+ - 📱 **Mobile Testing** — Appium-based: Android, iOS, cross-platform
73
+ - 🔌 **API Testing** — REST, GraphQL, WebSocket testing with OpenAPI spec support
74
+ - 🔧 **Embedded Systems** — MQTT, CoAP, HTTP, Serial protocol testing
75
+ - 🛡️ **Security Testing** — SSL, headers, SQL injection, XSS, CORS checks
76
+ - 📊 **Live Dashboard** — Real-time testing panel with WebSocket updates
77
+ - 📑 **Auto Excel Reports** — Industrial Excel reports auto-generated after EVERY test (10 sheets)
78
+ - 🧠 **Auto-Training** — Learns from your usage patterns to optimize testing
79
+ - 🔐 **Privacy-First** — ALL data stays local, encrypted, zero external transfer
80
+ - 📈 **Coverage Tracking** — Track progress from 0% → 90% automated coverage
81
+ - 👥 **User Permissions** — Role-based access: admin, tester, viewer, CI
82
+
83
+ ---
84
+
85
+ ## 🚀 Installation
86
+
87
+ ```bash
88
+ # Install from source
89
+ cd nextog-cli
90
+ pip install -e .
91
+
92
+ # Install with mobile support
93
+ pip install -e ".[mobile]"
94
+
95
+ # Install Playwright browsers
96
+ playwright install
97
+
98
+ # Verify installation
99
+ nextog --version
100
+ ```
101
+
102
+ ---
103
+
104
+ ## 📖 Quick Start
105
+
106
+ ### Initialize a Project
107
+
108
+ ```bash
109
+ # Create a new full-stack testing project
110
+ nextog init my-project --template full
111
+
112
+ # Web-only project
113
+ nextog my-web-app --template web
114
+
115
+ # API-only project
116
+ nextog my-api --template api
117
+ ```
118
+
119
+ ### Run Tests
120
+
121
+ ```bash
122
+ # Web testing
123
+ nextog test web --url https://example.com --browser chromium --responsive --accessibility
124
+
125
+ # Mobile testing
126
+ nextog test mobile --app ./myapp.apk --platform android
127
+
128
+ # API testing
129
+ nextog test api --spec ./openapi.yaml --base-url https://api.example.com
130
+
131
+ # Embedded systems
132
+ nextog test embedded --target 192.168.1.100 --protocol mqtt
133
+
134
+ # Run all tests
135
+ nextog test all --coverage-target 90
136
+ ```
137
+
138
+ ### Live Dashboard
139
+
140
+ ```bash
141
+ # Start real-time testing dashboard
142
+ nextog live --port 8080
143
+ ```
144
+
145
+ ### View Coverage
146
+
147
+ ```bash
148
+ # Show coverage table
149
+ nextog coverage
150
+
151
+ # Generate HTML report
152
+ nextog coverage --report --format html
153
+
154
+ # Generate JSON report
155
+ nextog coverage --report --format json
156
+ ```
157
+
158
+ ### Generate Industrial Excel Reports
159
+
160
+ ```bash
161
+ # Reports auto-generate after EVERY test run!
162
+ nextog test web --url https://example.com # → Excel report auto-created
163
+ nextog test mobile --app ./app.apk # → Excel report auto-created
164
+ nextog test api --spec ./openapi.yaml # → Excel report auto-created
165
+
166
+ # Generate report manually from last test
167
+ nextog report
168
+
169
+ # Generate for specific test type
170
+ nextog report --type web
171
+ nextog report --type api
172
+ nextog report --type mobile
173
+ nextog report --type embedded
174
+ nextog report --type full
175
+
176
+ # Custom output path
177
+ nextog report --output ./my-report.xlsx
178
+ ```
179
+
180
+ **Each Excel Report Contains 10 Industrial Sheets:**
181
+ 1. 📋 Executive Summary — Key metrics, overall status, risk level, recommendations
182
+ 2. 📝 Test Details — Every test case with ID, status, expected/actual results
183
+ 3. 📊 Coverage Analysis — Phase-wise coverage (0% → 90%), element coverage matrix
184
+ 4. 🔍 Elements & Components — All detected elements with purpose & test status
185
+ 5. 🐛 Defect Log — All found defects with severity, priority, steps to reproduce
186
+ 6. ⚡ Performance Metrics — Duration, throughput, response times, benchmarks
187
+ 7. 📈 Charts & Graphs — Pie charts (pass/fail), Bar charts (coverage by phase)
188
+ 8. 💡 Recommendations — Action items prioritized by effort & impact
189
+ 9. 🖥️ Test Environment — System info, OS, RAM, CPU, tool versions
190
+ 10. ✍️ Sign-Off Sheet — Approval section for QA Lead, Dev Lead, PM, Release Manager
191
+
192
+ ### Detect Elements
193
+
194
+ ```bash
195
+ # Detect and explain all elements on a page
196
+ nextog elements https://example.com --explain
197
+
198
+ # Save elements to file
199
+ nextog elements https://example.com --output elements.json
200
+ ```
201
+
202
+ ---
203
+
204
+ ## 👥 User Management
205
+
206
+ ```bash
207
+ # Create users with roles
208
+ nextog user create john --role admin
209
+ nextog user create jane --role tester
210
+ nextog user create viewer1 --role viewer
211
+
212
+ # List users
213
+ nextog user list
214
+
215
+ # Change role
216
+ nextog user role john tester
217
+ ```
218
+
219
+ ### Permission Levels
220
+
221
+ | Role | Tests | Reports | Users | Config | Data |
222
+ |------|-------|---------|-------|--------|------|
223
+ | admin | ✅ All | ✅ | ✅ Manage | ✅ | ✅ |
224
+ | tester | ✅ Run/Create | ✅ | ❌ | ❌ | ✅ Export |
225
+ | viewer | ❌ | ✅ View | ❌ | ❌ | ✅ View |
226
+ | ci | ✅ Run | ✅ | ❌ | ❌ | ❌ |
227
+
228
+ ---
229
+
230
+ ## 🧠 Auto-Training
231
+
232
+ nextOG automatically learns from your testing patterns:
233
+
234
+ ```bash
235
+ # Check training status
236
+ nextog train --action status
237
+
238
+ # Start training cycle
239
+ nextog train --action start --iterations 100
240
+
241
+ # Optimize test suite
242
+ nextog train --action optimize
243
+ ```
244
+
245
+ **What it learns:**
246
+ - Which tests fail most often → runs them first (fail-fast)
247
+ - Common error patterns → suggests fixes
248
+ - User workflows → optimizes test order
249
+ - Coverage gaps → suggests new tests
250
+
251
+ ---
252
+
253
+ ## 🔐 Privacy Architecture
254
+
255
+ **nextOG is 100% privacy-first:**
256
+
257
+ - ✅ All data stored locally (SQLite + AES encryption)
258
+ - ✅ Zero external API calls for user data
259
+ - ✅ No telemetry, no analytics, no cloud sync
260
+ - ✅ User can export/delete all data anytime
261
+ - ✅ Data integrity verification built-in
262
+
263
+ ```bash
264
+ # View storage stats
265
+ nextog data stats
266
+
267
+ # Export all data (encrypted)
268
+ nextog data export --output backup.json --encrypt
269
+
270
+ # Purge all data permanently
271
+ nextog data purge --yes
272
+ ```
273
+
274
+ ---
275
+
276
+ ## 📊 Coverage Tracking
277
+
278
+ Testing progresses through 5 phases:
279
+
280
+ | Phase | Coverage | Tests |
281
+ |-------|----------|-------|
282
+ | 🔥 Smoke | 0% - 20% | Basic element detection, page loads |
283
+ | ⚡ Functional | 20% - 40% | Forms, navigation, API validation |
284
+ | 🔗 Integration | 40% - 60% | Cross-component, edge cases |
285
+ | 🛡️ Performance | 60% - 80% | Load, stress, security tests |
286
+ | 🎯 Advanced | 80% - 90% | Regression, advanced scenarios |
287
+
288
+ ---
289
+
290
+ ## 📁 Project Structure
291
+
292
+ ```
293
+ nextog-cli/
294
+ ├── nextog/
295
+ │ ├── cli.py # CLI entry point (Typer)
296
+ │ ├── core/
297
+ │ │ ├── engine.py # Core testing engine
298
+ │ │ ├── runner.py # Test runner & initializer
299
+ │ │ ├── reporter.py # Coverage reporting
300
+ │ │ ├── permissions.py # RBAC permissions
301
+ │ │ └── privacy.py # Privacy engine
302
+ │ ├── engines/
303
+ │ │ ├── web/ # Web testing (Playwright)
304
+ │ │ ├── mobile/ # Mobile testing (Appium)
305
+ │ │ ├── api/ # API testing (httpx)
306
+ │ │ ├── embedded/ # Embedded systems (MQTT/CoAP)
307
+ │ │ └── system/ # Performance & security
308
+ │ ├── training/ # Auto-learning engine
309
+ │ ├── data/ # Local database & sync
310
+ │ ├── live/ # Live dashboard (FastAPI)
311
+ │ ├── config/ # Settings management
312
+ │ └── utils/ # Helpers & validators
313
+ ├── pyproject.toml # Package configuration
314
+ └── README.md
315
+ ```
316
+
317
+ ---
318
+
319
+ ## 🛠️ Development
320
+
321
+ ```bash
322
+ # Install dev dependencies
323
+ pip install -e ".[dev]"
324
+
325
+ # Run tests
326
+ pytest tests/
327
+
328
+ # Format code
329
+ black nextog/
330
+ ruff check nextog/
331
+
332
+ # Type check
333
+ mypy nextog/
334
+ ```
335
+
336
+ ---
337
+
338
+ ## 📄 License
339
+
340
+ MIT License - See LICENSE file for details.
341
+
342
+ ---
343
+
344
+ **Built with ❤️ for comprehensive QA automation**
@@ -0,0 +1,288 @@
1
+ # 🚀 nextOG CLI
2
+
3
+ **Full QA Testing Automation CLI Tool**
4
+
5
+ > Web Apps • Mobile Apps • Embedded Systems • Web Systems — All-in-One Testing
6
+
7
+ ![Version](https://img.shields.io/badge/version-1.0.0-blue)
8
+ ![Python](https://img.shields.io/badge/python-3.9+-green)
9
+ ![License](https://img.shields.io/badge/license-MIT-yellow)
10
+
11
+ ---
12
+
13
+ ## ✨ Features
14
+
15
+ - 🌐 **Web Testing** — Playwright-based: responsive, accessibility, cross-browser, performance
16
+ - 📱 **Mobile Testing** — Appium-based: Android, iOS, cross-platform
17
+ - 🔌 **API Testing** — REST, GraphQL, WebSocket testing with OpenAPI spec support
18
+ - 🔧 **Embedded Systems** — MQTT, CoAP, HTTP, Serial protocol testing
19
+ - 🛡️ **Security Testing** — SSL, headers, SQL injection, XSS, CORS checks
20
+ - 📊 **Live Dashboard** — Real-time testing panel with WebSocket updates
21
+ - 📑 **Auto Excel Reports** — Industrial Excel reports auto-generated after EVERY test (10 sheets)
22
+ - 🧠 **Auto-Training** — Learns from your usage patterns to optimize testing
23
+ - 🔐 **Privacy-First** — ALL data stays local, encrypted, zero external transfer
24
+ - 📈 **Coverage Tracking** — Track progress from 0% → 90% automated coverage
25
+ - 👥 **User Permissions** — Role-based access: admin, tester, viewer, CI
26
+
27
+ ---
28
+
29
+ ## 🚀 Installation
30
+
31
+ ```bash
32
+ # Install from source
33
+ cd nextog-cli
34
+ pip install -e .
35
+
36
+ # Install with mobile support
37
+ pip install -e ".[mobile]"
38
+
39
+ # Install Playwright browsers
40
+ playwright install
41
+
42
+ # Verify installation
43
+ nextog --version
44
+ ```
45
+
46
+ ---
47
+
48
+ ## 📖 Quick Start
49
+
50
+ ### Initialize a Project
51
+
52
+ ```bash
53
+ # Create a new full-stack testing project
54
+ nextog init my-project --template full
55
+
56
+ # Web-only project
57
+ nextog my-web-app --template web
58
+
59
+ # API-only project
60
+ nextog my-api --template api
61
+ ```
62
+
63
+ ### Run Tests
64
+
65
+ ```bash
66
+ # Web testing
67
+ nextog test web --url https://example.com --browser chromium --responsive --accessibility
68
+
69
+ # Mobile testing
70
+ nextog test mobile --app ./myapp.apk --platform android
71
+
72
+ # API testing
73
+ nextog test api --spec ./openapi.yaml --base-url https://api.example.com
74
+
75
+ # Embedded systems
76
+ nextog test embedded --target 192.168.1.100 --protocol mqtt
77
+
78
+ # Run all tests
79
+ nextog test all --coverage-target 90
80
+ ```
81
+
82
+ ### Live Dashboard
83
+
84
+ ```bash
85
+ # Start real-time testing dashboard
86
+ nextog live --port 8080
87
+ ```
88
+
89
+ ### View Coverage
90
+
91
+ ```bash
92
+ # Show coverage table
93
+ nextog coverage
94
+
95
+ # Generate HTML report
96
+ nextog coverage --report --format html
97
+
98
+ # Generate JSON report
99
+ nextog coverage --report --format json
100
+ ```
101
+
102
+ ### Generate Industrial Excel Reports
103
+
104
+ ```bash
105
+ # Reports auto-generate after EVERY test run!
106
+ nextog test web --url https://example.com # → Excel report auto-created
107
+ nextog test mobile --app ./app.apk # → Excel report auto-created
108
+ nextog test api --spec ./openapi.yaml # → Excel report auto-created
109
+
110
+ # Generate report manually from last test
111
+ nextog report
112
+
113
+ # Generate for specific test type
114
+ nextog report --type web
115
+ nextog report --type api
116
+ nextog report --type mobile
117
+ nextog report --type embedded
118
+ nextog report --type full
119
+
120
+ # Custom output path
121
+ nextog report --output ./my-report.xlsx
122
+ ```
123
+
124
+ **Each Excel Report Contains 10 Industrial Sheets:**
125
+ 1. 📋 Executive Summary — Key metrics, overall status, risk level, recommendations
126
+ 2. 📝 Test Details — Every test case with ID, status, expected/actual results
127
+ 3. 📊 Coverage Analysis — Phase-wise coverage (0% → 90%), element coverage matrix
128
+ 4. 🔍 Elements & Components — All detected elements with purpose & test status
129
+ 5. 🐛 Defect Log — All found defects with severity, priority, steps to reproduce
130
+ 6. ⚡ Performance Metrics — Duration, throughput, response times, benchmarks
131
+ 7. 📈 Charts & Graphs — Pie charts (pass/fail), Bar charts (coverage by phase)
132
+ 8. 💡 Recommendations — Action items prioritized by effort & impact
133
+ 9. 🖥️ Test Environment — System info, OS, RAM, CPU, tool versions
134
+ 10. ✍️ Sign-Off Sheet — Approval section for QA Lead, Dev Lead, PM, Release Manager
135
+
136
+ ### Detect Elements
137
+
138
+ ```bash
139
+ # Detect and explain all elements on a page
140
+ nextog elements https://example.com --explain
141
+
142
+ # Save elements to file
143
+ nextog elements https://example.com --output elements.json
144
+ ```
145
+
146
+ ---
147
+
148
+ ## 👥 User Management
149
+
150
+ ```bash
151
+ # Create users with roles
152
+ nextog user create john --role admin
153
+ nextog user create jane --role tester
154
+ nextog user create viewer1 --role viewer
155
+
156
+ # List users
157
+ nextog user list
158
+
159
+ # Change role
160
+ nextog user role john tester
161
+ ```
162
+
163
+ ### Permission Levels
164
+
165
+ | Role | Tests | Reports | Users | Config | Data |
166
+ |------|-------|---------|-------|--------|------|
167
+ | admin | ✅ All | ✅ | ✅ Manage | ✅ | ✅ |
168
+ | tester | ✅ Run/Create | ✅ | ❌ | ❌ | ✅ Export |
169
+ | viewer | ❌ | ✅ View | ❌ | ❌ | ✅ View |
170
+ | ci | ✅ Run | ✅ | ❌ | ❌ | ❌ |
171
+
172
+ ---
173
+
174
+ ## 🧠 Auto-Training
175
+
176
+ nextOG automatically learns from your testing patterns:
177
+
178
+ ```bash
179
+ # Check training status
180
+ nextog train --action status
181
+
182
+ # Start training cycle
183
+ nextog train --action start --iterations 100
184
+
185
+ # Optimize test suite
186
+ nextog train --action optimize
187
+ ```
188
+
189
+ **What it learns:**
190
+ - Which tests fail most often → runs them first (fail-fast)
191
+ - Common error patterns → suggests fixes
192
+ - User workflows → optimizes test order
193
+ - Coverage gaps → suggests new tests
194
+
195
+ ---
196
+
197
+ ## 🔐 Privacy Architecture
198
+
199
+ **nextOG is 100% privacy-first:**
200
+
201
+ - ✅ All data stored locally (SQLite + AES encryption)
202
+ - ✅ Zero external API calls for user data
203
+ - ✅ No telemetry, no analytics, no cloud sync
204
+ - ✅ User can export/delete all data anytime
205
+ - ✅ Data integrity verification built-in
206
+
207
+ ```bash
208
+ # View storage stats
209
+ nextog data stats
210
+
211
+ # Export all data (encrypted)
212
+ nextog data export --output backup.json --encrypt
213
+
214
+ # Purge all data permanently
215
+ nextog data purge --yes
216
+ ```
217
+
218
+ ---
219
+
220
+ ## 📊 Coverage Tracking
221
+
222
+ Testing progresses through 5 phases:
223
+
224
+ | Phase | Coverage | Tests |
225
+ |-------|----------|-------|
226
+ | 🔥 Smoke | 0% - 20% | Basic element detection, page loads |
227
+ | ⚡ Functional | 20% - 40% | Forms, navigation, API validation |
228
+ | 🔗 Integration | 40% - 60% | Cross-component, edge cases |
229
+ | 🛡️ Performance | 60% - 80% | Load, stress, security tests |
230
+ | 🎯 Advanced | 80% - 90% | Regression, advanced scenarios |
231
+
232
+ ---
233
+
234
+ ## 📁 Project Structure
235
+
236
+ ```
237
+ nextog-cli/
238
+ ├── nextog/
239
+ │ ├── cli.py # CLI entry point (Typer)
240
+ │ ├── core/
241
+ │ │ ├── engine.py # Core testing engine
242
+ │ │ ├── runner.py # Test runner & initializer
243
+ │ │ ├── reporter.py # Coverage reporting
244
+ │ │ ├── permissions.py # RBAC permissions
245
+ │ │ └── privacy.py # Privacy engine
246
+ │ ├── engines/
247
+ │ │ ├── web/ # Web testing (Playwright)
248
+ │ │ ├── mobile/ # Mobile testing (Appium)
249
+ │ │ ├── api/ # API testing (httpx)
250
+ │ │ ├── embedded/ # Embedded systems (MQTT/CoAP)
251
+ │ │ └── system/ # Performance & security
252
+ │ ├── training/ # Auto-learning engine
253
+ │ ├── data/ # Local database & sync
254
+ │ ├── live/ # Live dashboard (FastAPI)
255
+ │ ├── config/ # Settings management
256
+ │ └── utils/ # Helpers & validators
257
+ ├── pyproject.toml # Package configuration
258
+ └── README.md
259
+ ```
260
+
261
+ ---
262
+
263
+ ## 🛠️ Development
264
+
265
+ ```bash
266
+ # Install dev dependencies
267
+ pip install -e ".[dev]"
268
+
269
+ # Run tests
270
+ pytest tests/
271
+
272
+ # Format code
273
+ black nextog/
274
+ ruff check nextog/
275
+
276
+ # Type check
277
+ mypy nextog/
278
+ ```
279
+
280
+ ---
281
+
282
+ ## 📄 License
283
+
284
+ MIT License - See LICENSE file for details.
285
+
286
+ ---
287
+
288
+ **Built with ❤️ for comprehensive QA automation**
@@ -0,0 +1,4 @@
1
+ """nextOG CLI - Full QA Testing Automation Tool"""
2
+
3
+ __version__ = "1.0.0"
4
+ __app_name__ = "nextOG CLI"