Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								59d53182bb 
								
							 
						 
						
							
							
								
								all: use new testing features of Go 1.14 and 1.15  
							
							... 
							
							
							
							This simplifies the tests a bit. 
							
						 
						
							2021-08-16 21:19:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								25c7bfd404 
								
							 
						 
						
							
							
								
								ci: drop support for Go 1.13 and 1.14  
							
							... 
							
							
							
							They aren't supported anymore in CI, and because untested code is broken
code, let's remove support for these Go versions altogether. 
							
						 
						
							2021-08-16 21:19:26 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Ayke van Laethem 
								
							 
						 
						
							
							
							
							
								
							
							
								c25a7cc747 
								
							 
						 
						
							
							
								
								testing: test testing package using tinygo test  
							
							
							
						 
						
							2021-08-12 13:23:41 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Dan Kegel 
								
							 
						 
						
							
							
							
							
								
							
							
								55789fd2c2 
								
							 
						 
						
							
							
								
								src/testing/benchmark.go: add subset implementation of Benchmark  
							
							... 
							
							
							
							Partially fixes  #1808 
Allows the following to succeed:
curl "https://golang.org/test/fibo.go?m=text " > fibo.go
tinygo build -o fibo fibo.go
./fibo -bench 
							
						 
						
							2021-08-06 08:19:15 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								f3bdebe2a6 
								
							 
						 
						
							
							
								
								Use httptest to serve wasm test files.  
							
							... 
							
							
							
							This picks a port automatically, so avoids any conflicts that might
arise from running the tests in parallel. 
							
						 
						
							2021-01-25 19:12:31 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Elliott Sales de Andrade 
								
							 
						 
						
							
							
							
							
								
							
							
								5642d72fbe 
								
							 
						 
						
							
							
								
								Update to current chromedp.  
							
							
							
						 
						
							2021-01-24 23:13:42 +01:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brad Peabody 
								
							 
						 
						
							
							
							
							
								
							
							
								4918395f88 
								
							 
						 
						
							
							
								
								added test for wasm log output  
							
							... 
							
							
							
							callback case for log test 
							
						 
						
							2020-05-27 08:43:29 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brad Peabody 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								95f509b109 
								
							 
						 
						
							
							
								
								wasm test suite ( #1116 )  
							
							... 
							
							
							
							* wasm: add test suite using headlless chrome 
							
						 
						
							2020-05-23 14:12:01 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brad Erickson 
								
							 
						 
						
							
							
							
							
								
							
							
								61f711ef26 
								
							 
						 
						
							
							
								
								Add common test logging methods such as Errorf/Fatalf/Printf  
							
							... 
							
							
							
							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-13 20:59:09 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Brad Erickson 
								
							 
						 
						
							
							
							
							
								
							
							
								7c758b0dfc 
								
							 
						 
						
							
							
								
								testing: Add Benchmark B struct stub  
							
							... 
							
							
							
							This struct allows test files containing basic benchmarks to compile
and run, but will not run the benchmarks themselves.
For #491  
							
						 
						
							2019-08-11 14:51:02 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Carolyn Van Slyck 
								
							 
						 
						
							
							
							
							
								
							
							
								208e1719ad 
								
							 
						 
						
							
							
								
								Add test command to tinygo ( #243 )  
							
							... 
							
							
							
							* Add test command to tinygo 
							
						 
						
							2019-06-18 12:23:59 +02:00