- Support markdown report.
- image.EqualFromFile() close response body.
- image package
- Support image comparison; EqualFromFile()
- Refactoring
- Refactoring for internal code. For example, introduce network struct.
- GitHub Actions workflow for gosec.
- Fix gosec issue
- Show image in the report if Content-Type is image MIME
- Generate code coverage report with
make coverage
.- The coverage report name is
coverage.html
.
- The coverage report name is
- Support more http mock methods; HEAD, OPTIONS, CONNECT, TRACE
- Dependabot update go.mod in example codes.
- Introduce
Interval
struct for caluculating interval time.
SpecTest.RecorderHook
is deprecated since apitest package era.
- Support more http methods; HEAD, OPTIONS, CONNECT, TRACE
- Broken example codes. However, some examples are still broken (iris, qraphql).
- Broken unit test;
TestRealNetworking()
had a case where API calls could be made before the server was started.
- Refactoring
- The processing was heavily written in one file, so I split the file into multiple parts.
- Rename public struct name; APITest to SpecTest
- GitHub Actions
- Unit Test for Linux/macOS/windows, reviewdog, golangci-lint
- Dependabot and patch/minor version auto update.
- Import side project; jsonpath, jsonschema, plantuml, css-selector
- aws package is not imported. It's broken.
APITest.CustomReportName()
- Output sequence diagram with custom name instead of hash.
- Add help target to Makefile.
- Refactoring
- Refactoring for internal code. For example, meta information is now stored in a struct instead of a map.
-
Rename 'Http' to 'HTTP'. So, some function names are changed.
Http
->HTTP
HttpHandler
->HTTPHandler
-
deprecated method in io/ioutil.
-
Export difflib.
- I exported difflib as an external package (diff) because it is an independent package. Additionally, I made the diff package compatible with Windows. Specifically, it now displays differences in color even when indicating diffs in a Windows environment.
APITest.Meta()
method.- The precise information of the meta (map[string]interface{}) was not being exposed to users. Consequently, users found it challenging to effectively utilize APITest.Meta(). Instead of providing an alternative method, APITest.Meta() was removed.