refactor: rename API

This commit is contained in:
debugtalk
2021-10-10 12:21:24 +08:00
parent e1411c36da
commit ce06ee09db
11 changed files with 16 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ HttpBoomer is a golang implementation of [HttpRunner]. Ideally, HttpBoomer will
- [x] Supports `variables`/`extract`/`validate`/`hooks` mechanisms to create extremely complex test scenarios.
- [ ] Built-in integration of rich functions, and you can also use [`go plugin`][plugin] to create and call custom functions.
- [x] Inherit all powerful features of [`Boomer`][Boomer] and [`locust`][locust], you can run `load test` without extra work.
- [ ] Use it as a `CLI tool` or as a `library` are both supported.
- [x] Use it as a `CLI tool` or as a `library` are both supported.
## Quick Start
@@ -35,7 +35,6 @@ $ go get -u github.com/httprunner/httpboomer
This is an example of HttpBoomer testcase. You can find more in the [`examples`][examples] directory.
```go
import (
"testing"
@@ -86,7 +85,7 @@ func TestCaseDemo(t *testing.T) {
},
}
err := httpboomer.Test(t, testcase)
err := httpboomer.Run(t, testcase)
if err != nil {
t.Fatalf("run testcase error: %v", err)
}