mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
HISTORY.md: add entry for third party packages support on httptest
This commit is contained in:
parent
7761069873
commit
3f544398b9
|
@ -28,6 +28,8 @@ The codebase for Dependency Injection, Internationalization and localization and
|
||||||
|
|
||||||
## Fixes and Improvements
|
## Fixes and Improvements
|
||||||
|
|
||||||
|
- [PR #1992](https://github.com/kataras/iris/pull/1992): Added support for third party packages on [httptest](https://github.com/kataras/iris/tree/master/httptest). An example using 3rd-party module named [Ginkgo](github.com/onsi/ginkgo) can be found [here](https://github.com/kataras/iris/blob/master/_examples/testing/ginkgotest).
|
||||||
|
|
||||||
- Add `Context.Render` method for compatibility.
|
- Add `Context.Render` method for compatibility.
|
||||||
|
|
||||||
- Support of embedded [locale files](https://github.com/kataras/iris/blob/master/_examples/i18n/template-embedded/main.go) using standard `embed.FS` with the new `LoadFS` function.
|
- Support of embedded [locale files](https://github.com/kataras/iris/blob/master/_examples/i18n/template-embedded/main.go) using standard `embed.FS` with the new `LoadFS` function.
|
||||||
|
|
|
@ -107,7 +107,9 @@
|
||||||
* API Documentation
|
* API Documentation
|
||||||
* [Yaag](apidoc/yaag/main.go)
|
* [Yaag](apidoc/yaag/main.go)
|
||||||
* [Swagger](https://github.com/iris-contrib/swagger/tree/master/_examples/basic)
|
* [Swagger](https://github.com/iris-contrib/swagger/tree/master/_examples/basic)
|
||||||
* [Testing](testing/httptest/main_test.go)
|
* Testing
|
||||||
|
* [Testing with httptest](testing/httptest/main_test.go)
|
||||||
|
* [Testing with ginkgo](testing/ginkgotest)
|
||||||
* [Recovery](recover/main.go)
|
* [Recovery](recover/main.go)
|
||||||
* [Panic and custom Error Handler with Compression](recover/panic-and-custom-error-handler-with-compression/main.go)
|
* [Panic and custom Error Handler with Compression](recover/panic-and-custom-error-handler-with-compression/main.go)
|
||||||
* [Profiling](pprof/main.go)
|
* [Profiling](pprof/main.go)
|
||||||
|
|
|
@ -104,7 +104,8 @@ func DefaultConfiguration() *Configuration {
|
||||||
//
|
//
|
||||||
// httptest.New(t, app, httptest.URL(...), httptest.Debug(true), httptest.LogLevel("debug"), httptest.Strict(true))
|
// httptest.New(t, app, httptest.URL(...), httptest.Debug(true), httptest.LogLevel("debug"), httptest.Strict(true))
|
||||||
//
|
//
|
||||||
// Example at: https://github.com/kataras/iris/tree/master/_examples/testing/httptest.
|
// Examples at: https://github.com/kataras/iris/tree/master/_examples/testing/httptest and
|
||||||
|
// https://github.com/kataras/iris/tree/master/_examples/testing/ginkgotest.
|
||||||
func New(t IrisTesty, app *iris.Application, setters ...OptionSetter) *httpexpect.Expect {
|
func New(t IrisTesty, app *iris.Application, setters ...OptionSetter) *httpexpect.Expect {
|
||||||
conf := DefaultConfiguration()
|
conf := DefaultConfiguration()
|
||||||
for _, setter := range setters {
|
for _, setter := range setters {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user