Robert Vollmert
							
						 
						
							 
							
							
							
								
							
								445b55b3e5 
								
							
								 
							
						 
						
							
							
								
								test runner: non-zero exit code in case of failed tests  
							
							 
							
							... 
							
							
							
							This makes it easier to detect unit test failures from the
command line. 
							
						 
						
							2017-06-05 13:13:09 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								9e76899dbd 
								
							
								 
							
						 
						
							
							
								
								tools.test: Make the flag public. Finish porting tester changes to fuzzer.  
							
							 
							
							
							
						 
						
							2017-06-04 14:47:35 -05:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								be1175b3c5 
								
							
								 
							
						 
						
							
							
								
								tools.test: Add long-unit-test and refactor a bit.  
							
							 
							
							
							
						 
						
							2017-06-04 12:55:52 -05:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								55d5577961 
								
							
								 
							
						 
						
							
							
								
								tools.test: fix fake unit test to notify observers after clearing test failures.  
							
							 
							
							
							
						 
						
							2017-05-29 08:42:32 -07:00  
						
					 
				
					
						
							
							
								 
								Alexander Iljin
							
						 
						
							 
							
							
							
								
							
								6819db7e8f 
								
							
								 
							
						 
						
							
							
								
								tools.test-docs: fix the order of parameters for must-fail-with  
							
							 
							
							
							
						 
						
							2017-04-07 19:01:38 +03:00  
						
					 
				
					
						
							
							
								 
								Alexander Iljin
							
						 
						
							 
							
							
							
								
							
								5fac469a8c 
								
							
								 
							
						 
						
							
							
								
								tools.test-docs: add missing $syntax entries  
							
							 
							
							... 
							
							
							
							Previously only the unit-test help had $syntax. 
							
						 
						
							2017-01-13 13:31:42 +03:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								dd3189ecb6 
								
							
								 
							
						 
						
							
							
								
								tools.test: adding with-test-file and with-test-directory.  
							
							 
							
							... 
							
							
							
							These provide unique temp files (and directories) that are
automatically cleaned up when the quotation exits. Mostly this
allows us to simplify some of our test files. 
							
						 
						
							2016-04-04 10:33:03 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								beae638eab 
								
							
								 
							
						 
						
							
							
								
								tools.test: maybe "continue running tests" isn't a good idea.  
							
							 
							
							
							
						 
						
							2016-03-31 07:20:31 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								a4b9e55987 
								
							
								 
							
						 
						
							
							
								
								tools.test: add a restartable-tests? flag to control restarts.  
							
							 
							
							
							
						 
						
							2016-03-31 06:51:17 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								498285d7dd 
								
							
								 
							
						 
						
							
							
								
								unicode: make this the API for all unicode things.  
							
							 
							
							
							
						 
						
							2016-03-30 23:29:48 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								92496b5393 
								
							
								 
							
						 
						
							
							
								
								tools.test: better restart checking.  
							
							 
							
							
							
						 
						
							2016-03-30 23:29:37 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								57f434b80e 
								
							
								 
							
						 
						
							
							
								
								tools.test: rethrow any restart failures from tests.  
							
							 
							
							
							
						 
						
							2016-03-30 16:40:24 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								d99f67d5bb 
								
							
								 
							
						 
						
							
							
								
								tools.test: fix <test-failure> stack effect for file -> path change.  
							
							 
							
							
							
						 
						
							2016-03-29 08:06:56 -07:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								216a1234c2 
								
							
								 
							
						 
						
							
							
								
								tools.test: makes <test-failure> public  
							
							 
							
							
							
						 
						
							2015-12-17 23:50:49 +01:00  
						
					 
				
					
						
							
							
								 
								Björn Lindqvist
							
						 
						
							 
							
							
							
								
							
								4551fdcb28 
								
							
								 
							
						 
						
							
							
								
								tools.test: print the callstack in test failures  
							
							 
							
							... 
							
							
							
							So when mason reports a test failure it should include the whole
callstack. That should make it easier to catch the "No suitable
arithmetic method" random error that is hard to debug without a
callstack. 
							
						 
						
							2015-12-04 16:57:40 +01:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								117727d444 
								
							
								 
							
						 
						
							
							
								
								parser, source-files: you need to bootstrap after this patch.  
							
							 
							
							... 
							
							
							
							cleans up some file vs path naming.
file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file 
							
						 
						
							2015-07-23 22:03:43 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								2c257f399c 
								
							
								 
							
						 
						
							
							
								
								factor: Rename MACRO: and MACRO: to have quot as the output in stack effects.  
							
							 
							
							
							
						 
						
							2015-07-18 22:16:11 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								892c62e1dc 
								
							
								 
							
						 
						
							
							
								
								factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test  
							
							 
							
							
							
						 
						
							2015-07-03 09:39:59 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								59f3b1ea57 
								
							
								 
							
						 
						
							
							
								
								Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"  
							
							 
							
							... 
							
							
							
							Needs a bit more work.
This reverts commit 7e54cc2824 . 
							
						 
						
							2015-07-02 13:47:06 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								7e54cc2824 
								
							
								 
							
						 
						
							
							
								
								factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!  
							
							 
							
							
							
						 
						
							2015-07-02 11:36:08 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								999aa7c897 
								
							
								 
							
						 
						
							
							
								
								factor: clean up spaces in -tests files  
							
							 
							
							
							
						 
						
							2015-07-02 10:34:01 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								6e60c811ac 
								
							
								 
							
						 
						
							
							
								
								core: Rename create to create-word, create-in to create-word-in.  
							
							 
							
							
							
						 
						
							2015-06-08 12:47:35 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								a4c5a748ad 
								
							
								 
							
						 
						
							
							
								
								core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise.  
							
							 
							
							
							
						 
						
							2015-06-08 12:47:35 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								726e5068f7 
								
							
								 
							
						 
						
							
							
								
								Revert "tools.test: Print tests homoiconically. There is too much spacing still"  
							
							 
							
							... 
							
							
							
							This reverts commit 34a197248c . 
							
						 
						
							2014-11-23 23:59:57 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								beaa8ef083 
								
							
								 
							
						 
						
							
							
								
								Revert "tools.test: Fix using list."  
							
							 
							
							... 
							
							
							
							This reverts commit 4306180c11 . 
							
						 
						
							2014-11-23 23:59:35 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								4306180c11 
								
							
								 
							
						 
						
							
							
								
								tools.test: Fix using list.  
							
							 
							
							
							
						 
						
							2014-11-23 18:01:19 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								34a197248c 
								
							
								 
							
						 
						
							
							
								
								tools.test: Print tests homoiconically. There is too much spacing still  
							
							 
							
							... 
							
							
							
							but it's better than before imo. See #1221 . 
							
						 
						
							2014-11-23 16:51:40 -08:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								98935b7f15 
								
							
								 
							
						 
						
							
							
								
								docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.  
							
							 
							
							
							
						 
						
							2014-05-18 20:09:10 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								3139ec1d61 
								
							
								 
							
						 
						
							
							
								
								tools.test: allow testing from the command-line.  
							
							 
							
							
							
						 
						
							2013-04-26 17:43:39 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								00450e468a 
								
							
								 
							
						 
						
							
							
								
								tools,help: Fix error-type.  
							
							 
							
							
							
						 
						
							2013-03-23 22:07:40 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								378300155b 
								
							
								 
							
						 
						
							
							
								
								tools.test: Rename did-not-fail.  
							
							 
							
							
							
						 
						
							2013-03-23 17:09:19 -07:00  
						
					 
				
					
						
							
							
								 
								John Benediktsson
							
						 
						
							 
							
							
							
								
							
								4f260ab9bd 
								
							
								 
							
						 
						
							
							
								
								"H{ } substitute" is faster than "{ } substitute".  
							
							 
							
							
							
						 
						
							2012-07-13 19:06:38 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								36dac58380 
								
							
								 
							
						 
						
							
							
								
								update USING:s  
							
							 
							
							
							
						 
						
							2011-11-15 18:37:30 -08:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								26872ffe4d 
								
							
								 
							
						 
						
							
							
								
								Rename vocab to lookup-vocab  
							
							 
							
							
							
						 
						
							2011-10-24 06:42:54 -05:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								e200656ce4 
								
							
								 
							
						 
						
							
							
								
								tools.test.fuzz tests: missing using  
							
							 
							
							
							
						 
						
							2011-10-10 18:03:52 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								b5fc65707d 
								
							
								 
							
						 
						
							
							
								
								new module tools.test.fuzz: quickcheck-style probabilistic testing, based on Andrew Pennebaker's factcheck vocab  
							
							 
							
							
							
						 
						
							2011-10-10 12:23:23 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								5a21742f74 
								
							
								 
							
						 
						
							
							
								
								tools.test: move fake-unit-test utility from test suite to module  
							
							 
							
							
							
						 
						
							2011-10-10 12:23:23 -07:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								76580da5d5 
								
							
								 
							
						 
						
							
							
								
								Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.  
							
							 
							
							... 
							
							
							
							CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes  #183 .
Fixes  #209 . 
							
						 
						
							2011-09-29 11:28:28 -07:00  
						
					 
				
					
						
							
							
								 
								Joe Groff
							
						 
						
							 
							
							
							
								
							
								1625768a9e 
								
							
								 
							
						 
						
							
							
								
								tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity)  
							
							 
							
							
							
						 
						
							2010-07-12 09:36:36 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								ea726f5680 
								
							
								 
							
						 
						
							
							
								
								Move remaining sequence operations from generalizations to sequences.generalizations where they belong  
							
							 
							
							
							
						 
						
							2010-05-18 18:36:47 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								7524007110 
								
							
								 
							
						 
						
							
							
								
								load-all now skips vocabs tagged 'not loaded', and test-all skips vocabs tagged 'not tested'  
							
							 
							
							
							
						 
						
							2010-04-13 18:43:33 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								a7ee58dc83 
								
							
								 
							
						 
						
							
							
								
								mason.test: forget test vocabs right after each test, instead of at the end  
							
							 
							
							
							
						 
						
							2010-04-12 14:45:43 -07:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								823e2fd3e9 
								
							
								 
							
						 
						
							
							
								
								tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab  
							
							 
							
							
							
						 
						
							2010-02-01 17:09:57 +13:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								473cc7db4a 
								
							
								 
							
						 
						
							
							
								
								stack-checker: tighten some screws in error reporting  
							
							 
							
							
							
						 
						
							2009-11-09 00:17:24 -06:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								7ce4b746e5 
								
							
								 
							
						 
						
							
							
								
								parsed -> suffix!, add append!  
							
							 
							
							
							
						 
						
							2009-10-28 13:38:27 -05:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								cfdaaec068 
								
							
								 
							
						 
						
							
							
								
								move verbose-tests? out of private, change decode-test word to set the verbose mode itself, use images.pam in images test vocabs  
							
							 
							
							
							
						 
						
							2009-10-02 16:20:33 -05:00  
						
					 
				
					
						
							
							
								 
								Doug Coleman
							
						 
						
							 
							
							
							
								
							
								67167cf9ea 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'docs' of git://github.com/klazuka/factor into klazuka  
							
							 
							
							... 
							
							
							
							Conflicts:
	basis/math/vectors/vectors-docs.factor 
							
						 
						
							2009-10-02 15:58:45 -05:00  
						
					 
				
					
						
							
							
								 
								Keith Lazuka
							
						 
						
							 
							
							
							
								
							
								405e5d015b 
								
							
								 
							
						 
						
							
							
								
								docs: change $subsection to $subsections  
							
							 
							
							
							
						 
						
							2009-10-02 12:15:48 -04:00  
						
					 
				
					
						
							
							
								 
								Keith Lazuka
							
						 
						
							 
							
							
							
								
							
								6e12c254ef 
								
							
								 
							
						 
						
							
							
								
								tools.test: added a verbose-tests? flag to control test experiment pprint verbosity  
							
							 
							
							... 
							
							
							
							I needed this for my image decode unit tests because I don't want the test results to prettyprint big bitmap byte-arrays. 
							
						 
						
							2009-09-30 16:58:07 -04:00  
						
					 
				
					
						
							
							
								 
								Slava Pestov
							
						 
						
							 
							
							
							
								
							
								2d46cfdf9e 
								
							
								 
							
						 
						
							
							
								
								Improved line number handling for unit test failure errors  
							
							 
							
							
							
						 
						
							2009-09-08 13:13:30 -05:00