aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
AgeCommit message (Collapse)Author
2020-05-27added test for wasm log outputBrad Peabody
callback case for log test
2020-05-23wasm test suite (#1116)Brad Peabody
* wasm: add test suite using headlless chrome
2019-08-13Add common test logging methods such as Errorf/Fatalf/PrintfBrad Erickson
Implements nearly all of the test logging methods for both T and B structs. Majority of the code has been copied from: golang.org/src/testing/testing.go then updated to match the existing testing.go structure. Code structure/function/method order mimics upstream. Both FailNow() and SkipNow() cannot be completely implemented, because they require an early exit from the goroutine. Instead, they call Error() to report the limitation. This incomplete implementation allows more detailed test logging and increases compatiblity with upstream.
2019-08-11testing: Add Benchmark B struct stubBrad Erickson
This struct allows test files containing basic benchmarks to compile and run, but will not run the benchmarks themselves. For #491
2019-06-18Add test command to tinygo (#243)Carolyn Van Slyck
* Add test command to tinygo