mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-10 10:19:38 +08:00
refactor: rename API
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user