aboutsummaryrefslogtreecommitdiff
path: root/lib/test
AgeCommit message (Expand)Author
3 dayslib/test: rewrite Assert to use [diff.Unified]Shulhan
10 daysall: apply go fixShulhan
2026-01-15all: convert license and copyright to use SPDX identifiersShulhan
2026-01-15lib/test: ignore line prefixed with "//"Shulhan
2026-01-03lib/test: implement method ExtractInput on DataShulhan
2026-01-03lib/test: export the constant for default data file name suffixShulhan
2025-02-04all: remove the nolint tagsShulhan
2025-01-23all: use for-range with numericShulhan
2025-01-23all: replace "interface{}" with "any"Shulhan
2025-01-22lib/test: call Helper method inside AssertShulhan
2024-12-28lib/test: update comment to show link on reflect.EqualerShulhan
2024-03-14test/httptest: new helper for testing HTTP server handlerShulhan
2024-03-05all: comply with linter recommendations #2Shulhan
2024-03-02all: move the repository to "git.sr.ht/~shulhan/pakakeh.go"Shulhan
2024-01-29test/mock: implement mock for crypto [rand.Reader]Shulhan
2023-12-13all: fix linter warnings reported by reviveShulhan
2023-11-14lib/test: fix link to Article in DataShulhan
2023-09-11lib/test: realign struct in ExampleAssert_structShulhan
2023-09-11lib/test: refactoring, rename file test_buffer to buffer_writerShulhan
2023-09-11lib/test: refactoring, rename TestWriter to BufferWriterShulhan
2023-09-11test/mock: implement mock for testing io.ReadWriter or io.StringWriterShulhan
2023-05-30lib/test: update documentation related to Assert and DataShulhan
2023-05-30lib/test: add another example for Assert-ing stringShulhan
2023-05-25lib/test: use different package for exampleShulhan
2023-03-12lib/test: update the Assert comment related to latest changesShulhan
2023-03-02lib/test: simplify the string diff output from AssertShulhan
2022-09-21lib/test: fix Assert always fail if no changes after string diffShulhan
2022-09-15lib/test: use text/diff to compare strings on AssertShulhan
2022-09-13lib/test: change the Assert parameter to WriterShulhan
2022-07-25lib/test: truncate the last new line at the end of input and outputShulhan
2022-07-23lib/test: sort the loaded test Data filesShulhan
2022-07-23lib/test: load test data files with suffix "_test.txt"Shulhan
2022-07-22lib/test: implement Data, a type to load formatted file for helping testShulhan
2022-07-19lib/test: realign struct in the testShulhan
2022-05-09all: reformat all codes using gofmt 1.19 (the Go tip)Shulhan
2022-04-06all: replace any usage of ioutil package with os or ioShulhan
2021-03-14all: refactoring the test.Assert and test.AssertBench signatureShulhan
2020-11-23test: refactoring Assert with better error messageShulhan
2020-06-06all: use default linter optionsShulhan
2020-03-20reflect: add function IsEqual that works with Equaler interfaceShulhan
2020-03-20test: check if exp implement reflect.EqualerShulhan
2019-09-25all: fix linter warningsShulhan
2019-06-14all: fix nolint formatShulhan
2019-03-26test: change the error format to print "got" before "expectation"Shulhan
2019-03-01all: fix warnings from linterShulhan
2018-11-30all: minimize and suppress linter warnings for global variablesShulhan
2018-11-29all: fix warning from lintersShulhan
2018-09-13lib/test/mock: mock the standard input with temporary fileShulhan
2018-09-12lib/test/mock: new package for mocking standard output and standard errorShulhan
2018-09-01[chore] Update documentationsShulhan