You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set up unit/integration/e2e testing with test coverage for
unit/integration. Test coverage is not used, but can be pulled into a GH
workflow when/if desired. Currently as there are very few tests written
there is no threshold set in this repo.
---------
Co-authored-by: Mark Kurtz <[email protected]>
Copy file name to clipboardExpand all lines: DEVELOPING.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,68 @@ Review the coverage report to confirm that your new code is adequately tested.
179
179
180
180
3.**Address Feedback**: Respond to any feedback from reviewers and make necessary changes.
181
181
182
+
## Developing the Web UI
183
+
184
+
The GuideLLM project includes a frontend UI located in `src/ui`, built using [Next.js](https://nextjs.org/). This section provides instructions for working on the UI.
185
+
186
+
### Getting Started
187
+
188
+
To start the local development server:
189
+
190
+
```bash
191
+
npm run dev
192
+
```
193
+
194
+
Then open [http://localhost:3000](http://localhost:3000) in your browser.
195
+
196
+
### Building for Production
197
+
198
+
To build the app for production (output in the `out` directory):
199
+
200
+
```bash
201
+
npm run build
202
+
```
203
+
204
+
### Running UI Tests
205
+
206
+
-**Unit tests**:
207
+
208
+
```bash
209
+
npm run test:unit
210
+
```
211
+
212
+
-**Integration tests**:
213
+
214
+
```bash
215
+
npm run test:integration
216
+
```
217
+
218
+
-**End-to-end tests** (using Cypress, ensure live dev server):
219
+
220
+
```bash
221
+
npm run test:e2e
222
+
```
223
+
224
+
### Code Quality and Styling
225
+
226
+
-**Fix styling issues**:
227
+
228
+
```bash
229
+
npm run format
230
+
```
231
+
232
+
-**Run ESLint checks**:
233
+
234
+
```bash
235
+
npm run lint
236
+
```
237
+
238
+
-**Run TS type checks**:
239
+
240
+
```bash
241
+
npm run type-checks
242
+
```
243
+
182
244
## Additional Resources
183
245
184
246
-[CONTRIBUTING.md](https://github.com/neuralmagic/guidellm/blob/main/CONTRIBUTING.md): Guidelines for contributing to the project.
0 commit comments