Skip to content

Commit a0cdcc5

Browse files
authoredMar 17, 2025··
Merge pull request #1 from input-output-hk/fix/docs
docs(uuid-plus): fix docs how to run tests
2 parents 1d54cd9 + 6bc1f8c commit a0cdcc5

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed
 

‎README.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
77
Simple, fast generation of [RFC4122](https://www.ietf.org/rfc/rfc4122.txt) and [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) UUIDs.
88

9-
- [UUID Plus](#uuid-plus)
10-
- [Getting Started](#getting-started)
11-
- [Instructions](#instructions)
12-
- [Pubspec](#pubspec)
13-
- [Testing](#testing)
14-
- [Running Tests in Native Environment](#running-tests-in-native-environment)
15-
- [Running Tests in Browser Environment](#running-tests-in-browser-environment)
16-
- [Release notes](#release-notes)
17-
- [Attribution](#attribution)
9+
* [UUID Plus](#uuid-plus)
10+
* [Getting Started](#getting-started)
11+
* [Instructions](#instructions)
12+
* [Pubspec](#pubspec)
13+
* [Testing](#testing)
14+
* [Running Tests in Native Environment](#running-tests-in-native-environment)
15+
* [Running Tests in Browser Environment](#running-tests-in-browser-environment)
16+
* [Release notes](#release-notes)
17+
* [Attribution](#attribution)
1818

1919
Features:
2020

@@ -69,19 +69,19 @@ To run specific tests:
6969

7070
```bash
7171
# Run a specific test file
72-
dart test test/uuid_test.dart
72+
dart test test/v4_test.dart
7373

7474
# Run a specific test group (by name)
75-
dart test test/uuid_test.dart --name="Version 7 Tests"
75+
dart test test/v7_test.dart --name="UuidV7"
7676

7777
# Run a specific individual test
78-
dart test test/uuid_test.dart --name="IDs created at same mSec are different"
78+
dart test test/v7_test.dart --name="Direct UuidV7 Class Tests"
7979

8080
# Run tests matching a pattern
81-
dart test test/uuid_test.dart --name="timestamp"
81+
dart test test/v7_test.dart --name="timestamp"
8282

8383
# Run multiple test files
84-
dart test test/uuid_test.dart test/other_test.dart
84+
dart test test/v4_test.dart test/v7_test.dart
8585
```
8686

8787
### Running Tests in Browser Environment
@@ -93,7 +93,7 @@ To run all tests:
9393
dart test -p chrome
9494

9595
# Run only UUID v7 tests in Chrome
96-
dart test test/uuid_test.dart --name="Version 7 Tests" -p chrome
96+
dart test test/v7_test.dart --name="UuidV7" -p chrome
9797

9898
# Run on specific browsers
9999
dart test -p chrome,firefox
@@ -106,13 +106,13 @@ For debugging in the browser:
106106

107107
```bash
108108
# Basic debugging - pauses for you to connect DevTools
109-
dart test test/uuid_test.dart -p chrome --pause-after-load
109+
dart test test/v4_test.dart -p chrome --pause-after-load
110110

111111
# Debug a specific test group
112-
dart test test/uuid_test.dart --name="Version 7 Tests" -p chrome --pause-after-load --timeout=10x
112+
dart test test/v7_test.dart --name="UuidV7" -p chrome --pause-after-load --timeout=10x
113113

114114
# Debug a specific test with extended timeout
115-
dart test test/uuid_test.dart --name="UUID v7 has mathematically sufficient random bits" -p chrome --pause-after-load --timeout=10x
115+
dart test test/v7_test.dart --name="Direct UuidV7 Class Tests" -p chrome --pause-after-load --timeout=10x
116116
```
117117

118118
This will open Chrome and pause execution, allowing you to use Chrome DevTools for debugging.

0 commit comments

Comments
 (0)
Please sign in to comment.