Improve the speed of specs & features
Reported by baphled (at boodah) | April 8th, 2010 @ 08:14 PM
To help speed things up, we need to improve the speed of our tests, stubbing and mocking out external dependencies as much as possible.
The first culprit would be centered around importing features to Salad, this should be the first port of call
Comments and changes to this ticket
-
baphled@boodah.net April 8th, 2010 @ 10:15 PM
- Milestone set to 0.8.0
-
baphled@boodah.net April 13th, 2010 @ 09:59 AM
- State changed from new to open
We'll first stub out the retrieval of feature file and limit it 2 a couple to start with.
-
baphled@boodah.net April 13th, 2010 @ 08:13 PM
Made further improvements to /projects/import & projects spec.
-
baphled@boodah.net April 21st, 2010 @ 09:37 PM
Need to look at features/plain/import_a_single_feature.feature
-
baphled@boodah.net April 21st, 2010 @ 10:12 PM
Features now running at
Cucumber plain
208 scenarios (208 passed) 1178 steps (1178 passed) 4m57.927s
Rspec
Finished in 40.55213 seconds
288 examples, 0 failuresFeature could do with speeding up some more
-
baphled@boodah.net April 22nd, 2010 @ 10:18 PM
Added is a copy of the rspec profile, displaying the slowest specs on the above box, we'll focus on improving these tests next.
-
baphled@boodah.net April 26th, 2010 @ 02:09 PM
RSpec
Finished in 48.084478 seconds
287 examples, 0 failures
208 scenarios (208 passed) 1178 steps (1178 passed) 3m50.018s
On
Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz Number Of Processors: 1
-
baphled@boodah.net April 26th, 2010 @ 02:10 PM
- Milestone cleared.
Im sure these features could be improved some what more but this is a bigger improvement from the speed we were getting initially.
-
baphled@boodah.net June 29th, 2010 @ 10:34 AM
- Milestone set to 0.8.2
- Milestone order changed from 0 to 0
-
baphled@boodah.net July 21st, 2010 @ 04:56 PM
Selenium
159 scenarios (29 undefined, 130 passed) 937 steps (8 skipped, 46 undefined, 883 passed) 4m4.395s
Cucumber
26 scenarios (26 passed) 132 steps (132 passed) 3m37.560s
On
Processor Name: Intel Core 2 Duo Processor Speed: 2 GHz Number Of Processors: 1
-
baphled@boodah.net July 22nd, 2010 @ 09:22 PM
- Milestone order changed from 6 to 0
Rspec
Finished in 147.4069 seconds
361 examples, 0 failures, 8 pendingCucumber
259 scenarios (259 passed) 1247 steps (1247 passed) 20m44.310s
On
Dual core vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz stepping : 13 cpu MHz : 1200.000 cache size : 2048 KB
-
baphled@boodah.net August 5th, 2010 @ 01:19 PM
- Milestone cleared.
- Milestone order changed from 5 to 0
-
baphled@boodah.net August 5th, 2010 @ 03:26 PM
As a temporary measure we can stub out or feature sync and import based specs. This should go along way to improving the overall speed of our specs.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bridging the gap between clients and developers