https://github.com/maxshuang/ticdc_script
Migrating script for [TiCDC](https://github.com/pingcap/ticdc) to change the test-infra from gocheck to testify
https://github.com/maxshuang/ticdc_script
migrating sed testify
Last synced: 9 months ago
JSON representation
Migrating script for [TiCDC](https://github.com/pingcap/ticdc) to change the test-infra from gocheck to testify
- Host: GitHub
- URL: https://github.com/maxshuang/ticdc_script
- Owner: maxshuang
- Created: 2021-09-16T10:03:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-06T07:38:59.000Z (almost 4 years ago)
- Last Synced: 2025-02-16T06:27:16.081Z (10 months ago)
- Topics: migrating, sed, testify
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Overview
Ticdc is migrating its test-infra from gocheck to testify, and this Script is used for it. We can add other sed regexs to replace some repetitive and boring works.
### Usage
```
./testify_replace.sh replace_dir(file) pattern_file
./testify_replace.sh replace_dir(file)
```
### Example
```
./testify_replace.sh client_test.go testify.pattern
./testify_replace.sh client_test.go
./testify_replace.sh ./cdc/kv testify.pattern
./testify_replace.sh ./cdc/kv
```
### Support Pattern
[TODO]
### Extention
Refer to the examples in the testify.pattern