Commit Graph

106 Commits

Author SHA1 Message Date
Sean Kirby a9a0845b19 fixed stack overflows that could happen when a large number of runners run tests that output a lot to the console when ssh testing 2011-04-25 16:13:07 -04:00
Ethan Waldo 52e06ccffc Fixed issue where tasks weren't detecting rails environment. This caused cucumber tests to be run in test environment instead of cucumber. Figured the easiest thing to due was allow the environment to be specified in the rake task itself via t.environment = 2011-02-08 11:38:13 -06:00
Sean Kirby fbd1e9f6e2 Added more meaningful output when a test dies before it can be run 2010-10-29 00:23:57 -04:00
Sean Kirby db33cc8e56 Fixed runner crash if a test file cannot properly be required. This can
happen for instance when two test classes have the same name but different
super classes.
2010-10-29 00:23:57 -04:00
Nick Gauthier 80a119b350 fixed hydra rspec autorun override 2010-10-25 14:14:58 -04:00
Rob Aldred 3faf03e15b step mother is no more in cucumber 0.9.0
refactor the cucumber loading
2010-09-29 14:59:32 +01:00
Nick Gauthier 304fbb9c85 Merge branch 'master' of github.com:ngauthier/hydra
Conflicts:
	VERSION
	hydra.gemspec
2010-09-07 14:26:59 -04:00
Nick Gauthier 5f4bf365ba using new Rails.env 2010-09-07 14:24:14 -04:00
Nick Gauthier d47f53d897 access to master's failed files. proper exit status via rake. 2010-09-02 16:33:03 -05:00
Nick Gauthier 3fd1401513 Merge branch 'weplay'
Conflicts:
	test/fixtures/write_file_alternate_spec.rb
	test/fixtures/write_file_spec.rb
2010-09-02 16:08:08 -05:00
Nick Gauthier 05410b1af5 rspec 2.0 support 2010-08-23 14:42:51 -04:00
Nick Gauthier d4f1bf59d2 cucumber 0.8.5 and warmsnake (experimental) 2010-08-20 15:43:56 -04:00
Chris Cahoon 33ed55b432 Progress bar uses darker red and green.
This brings it in line with the red and green used in other
testing suites. It has the additional advantage of being
more useful to people with at least my particular brand
of color deficiency, which made it difficult to distinguish
the lighter red and green previously used.
2010-07-08 10:49:21 -04:00
Nick Gauthier 5f55baba19 added t.serial task option. moved rails env check to task run instead of definition 2010-07-08 10:45:25 -04:00
Nick Gauthier da1d3f9d44 removed incomplete file dump since it glitches for local workers and runners. patched to work with latest therubyracer 2010-06-18 13:55:48 -04:00
Luke Melia c9b0c3215e Work around an issue where Dir.tmpdir under OS X behaves differently when in an SSH session and from the console 2010-06-09 17:11:49 -04:00
Luke Melia a131de53f1 Upon boot, hydra workers will now require hydra_worker_init.rb in the current working directory if it is present. 2010-06-09 17:11:44 -04:00
Lee Bankewitz and Luke Melia c8091718eb introduce custom listeners for worker_begin/worker_end
Conflicts:

	lib/hydra/listener/abstract.rb
	lib/hydra/message/worker_messages.rb
2010-06-08 11:02:57 -04:00
Luke Melia e5633f42ac Fix a bug where a worker never receives another file after it reports a deadlock error. 2010-06-08 11:01:38 -04:00
Lee Bankewitz and Luke Melia dbfd9275c1 warn when trying to run Rails tests with RAILS_ENV=development 2010-06-08 11:00:52 -04:00
Nick Gauthier 6fbc582fe5 added new mysql deadlock message 2010-06-07 12:36:40 -04:00
Nick Gauthier e1783268cb Merge branch 'master' of http://github.com/sskirby/hydra into sskirby 2010-06-07 11:22:15 -04:00
Nick Gauthier 501aeb61ac fixed rubyracer v8 binding to work with current version 2010-06-07 10:36:28 -04:00
Nick Gauthier d2a14be3e4 Merge branch 'master' of http://github.com/raldred/hydra into raldred 2010-06-07 09:39:06 -04:00
Nick Gauthier 727871117c cleaned up js output 2010-05-28 10:51:27 -04:00
Nick Gauthier a69ae2e4ab jslint on json data 2010-05-28 10:42:17 -04:00
Nick Gauthier c7d7be6ed2 testing javascript files with jslint 2010-05-28 10:38:58 -04:00
Rob Aldred c8e08fabf6 added YmlLoadError class which is raised when yml file cannot be parsed 2010-05-14 14:23:29 +01:00
Rob Aldred 89c16e11c4 use erb to parse the config file, useful for putting dynamic values
also mkdir -p the directory the ssh class cd's to, to avoid errors if the dir is not there.
2010-05-14 14:16:50 +01:00
Sean Kirby 3500388765 merged with ngauthier master 2010-05-10 16:23:27 -04:00
Sean Kirby 818711f165 removed debugging outputs 2010-05-10 16:05:45 -04:00
Sean Kirby 77b7b6b66f added more tracing information and properly lists untested files when shutdown prematurely 2010-05-10 15:59:16 -04:00
Nick Gauthier 4ad5a1ed3d added profiling tasks 2010-05-10 14:22:25 -04:00
Sean Kirby 7f8e573fb9 playing around with showing the list of untested files when the user hits ctrl-c 2010-05-07 19:15:14 -04:00
Sean Kirby 133ad90894 added ability to set the rails environment to run tests under 2010-05-07 17:06:13 -04:00
Sean Kirby aa4b315833 fixed tabs 2010-05-07 16:17:01 -04:00
Sean Kirby b8cff6023a added threading and ability to specify environment for remote tasks 2010-05-07 16:15:57 -04:00
Sean Kirby 75cca89d3f refactored Sync object to own remote worker settings 2010-05-07 14:43:17 -04:00
Sean Kirby 7821852a52 refactored out the Rsync functionality of the Master into the Sync class and added a rake task to invoke syncing 2010-04-30 19:03:43 -04:00
Nick Gauthier 2f874f1f1b postgres and mysql specific deadlock detection 2010-04-28 15:05:03 -04:00
Nick Gauthier 2750fa4aaa simple deadlock retry 2010-04-22 16:04:09 -04:00
Laust Rud Jacobsen f8cebe3b59 Bugfix: Rspec pending examples should not result in specs reported as failing
Refs http://github.com/ngauthier/hydra/issues/issue/7
2010-04-20 14:48:05 +02:00
Nick Gauthier 361cd0724a patch to safe_fork to catch when the user has no connection before forking 2010-04-19 13:10:08 -04:00
Nick Gauthier a6847107ad added activerecord concurrency to safe_fork 2010-04-19 10:27:44 -04:00
Nick Gauthier 202563ffd8 fixed success detection for rspec due to faulty regex matching 2010-04-11 11:02:50 -04:00
Nick Gauthier bf8c75dfe3 extracted the spec override from the formatter and change the requirement style so as not to kill test::unit files 2010-04-06 10:13:32 -04:00
Nick Gauthier c36ec7a0a0 fast rspec running 2010-04-04 21:22:20 -04:00
Nick Gauthier 38044943c3 runs rspec, but slowly because spec_helper keeps getting reloaded 2010-04-04 14:07:27 -04:00
Nick Gauthier b831522a47 almost done with rspec integration. rspec is still running its at_exit 2010-04-03 21:43:35 -04:00
Nick Gauthier 55fb81f5de multiple rspec files running! 2010-04-03 20:32:00 -04:00