Skip to content

Commit a91493e

Browse files
committed
readme
1 parent 8e79b04 commit a91493e

File tree

2 files changed

+85
-11
lines changed

2 files changed

+85
-11
lines changed

README.md

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,54 @@ if err := validateAndConvert(); err != nil {
202202

203203
## Testing
204204

205-
The library has comprehensive test coverage. To run tests:
205+
The library has comprehensive test coverage. You can use the following make commands to run tests:
206206

207+
### General Test Commands
207208
```bash
208209
# Run all tests
209-
go test ./...
210+
make test
211+
212+
# Run all tests with verbose output
213+
make test-verbose
210214

211215
# Run tests with coverage
212-
go test -cover ./...
216+
make test-cover
217+
218+
# Generate HTML coverage report
219+
make test-coverage-report
220+
```
221+
222+
### Package Specific Tests
223+
```bash
224+
# Run JSON tests
225+
make test-json
226+
227+
# Run XML tests
228+
make test-xml
229+
230+
# Run YAML tests
231+
make test-yaml
232+
233+
# Run Node tests
234+
make test-node
235+
236+
# Run Benchmark tests
237+
make test-bench
238+
```
239+
240+
### Package Specific Coverage Reports
241+
```bash
242+
# Run JSON tests with coverage
243+
make test-json-cover
244+
245+
# Run XML tests with coverage
246+
make test-xml-cover
247+
248+
# Run YAML tests with coverage
249+
make test-yaml-cover
213250

214-
# Run tests verbosely
215-
go test -v ./...
251+
# Run Node tests with coverage
252+
make test-node-cover
216253
```
217254

218255
Current test coverage: >90%

README_TR.md

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,54 @@ if err := validateAndConvert(); err != nil {
202202

203203
## Test
204204

205-
Kütüphane kapsamlı test kapsamına sahiptir. Testleri çalıştırmak için:
205+
Kütüphane kapsamlı test kapsamına sahiptir. Testleri çalıştırmak için aşağıdaki make komutlarını kullanabilirsiniz:
206206

207+
### Genel Test Komutları
207208
```bash
208209
# Tüm testleri çalıştır
209-
go test ./...
210+
make test
210211

211-
# Kapsam raporuyla testleri çalıştır
212-
go test -cover ./...
212+
# Tüm testleri detaylı çıktı ile çalıştır
213+
make test-verbose
213214

214-
# Detaylı test çıktısıyla çalıştır
215-
go test -v ./...
215+
# Testleri kapsam raporu ile çalıştır
216+
make test-cover
217+
218+
# HTML kapsam raporu oluştur
219+
make test-coverage-report
220+
```
221+
222+
### Paket Özel Testler
223+
```bash
224+
# JSON testlerini çalıştır
225+
make test-json
226+
227+
# XML testlerini çalıştır
228+
make test-xml
229+
230+
# YAML testlerini çalıştır
231+
make test-yaml
232+
233+
# Node testlerini çalıştır
234+
make test-node
235+
236+
# Benchmark testlerini çalıştır
237+
make test-bench
238+
```
239+
240+
### Paket Özel Kapsam Raporları
241+
```bash
242+
# JSON testlerini kapsam raporu ile çalıştır
243+
make test-json-cover
244+
245+
# XML testlerini kapsam raporu ile çalıştır
246+
make test-xml-cover
247+
248+
# YAML testlerini kapsam raporu ile çalıştır
249+
make test-yaml-cover
250+
251+
# Node testlerini kapsam raporu ile çalıştır
252+
make test-node-cover
216253
```
217254

218255
Mevcut test kapsamı: >90%

0 commit comments

Comments
 (0)