Another good case is a Test handler to be used in a test environment. A Test handler would be a simple and effective replacement for all the stubs and mocks across our application spec suite. Also, it will ensure no real socket connection is performed outside our application when our test suite is running.
Non-Deep querying
The support for Non-Deep queries is another long awaited feature. You can now skip deep queries for thin providers passing the `:referral => false` option. …
Make auto-activation of Test::Unit integration more resilient. This change is specifically to cope with the nasty re-defining of classes that is done by the minitest-spec-rails gem. Fixes issue #143 . Thanks to @ tubaxenor for reporting.
Safer restoration of stubbed method visibility. Fixes issue #141 . Thanks to Aman Gupta .
Ensure Mockery instance gets reset even if exception raised. Fixes issue #144 .
Adapt Mocha acceptance tests …
As I mentioned in my previous post , there's been some recent confusion over which versions of Mocha are compatible with which versions of Rails . In this post, I explain how to use Mocha with Rails and Test::Unit.
Unfortunately due to Rails relying on Mocha & Test::Unit internals, there is a problem with using recent released versions of Rails with the latest version of Mocha and recent versions of the Test::Unit gem . You may see errors like these:
…'spec/factories' g.assets false g.helper false end
end end
Here, we're telling Rails when generating models, controllers, etc. for your engine to use RSpec and FactoryGirl, instead of the default of Test::Unit and fixtures
After this, you can start writing specs with FactoryGirl factories and integration specs ( inside the spec/features directory ) with Capybara. Have fun testing!
…'spec/factories' g.assets false g.helper false end
end end
Here, we're telling Rails when generating models, controllers, etc. for your engine to use RSpec and FactoryGirl, instead of the default of Test::Unit and fixtures
After this, you can start writing specs with FactoryGirl factories and integration specs ( inside the spec/features directory ) with Capybara. Have fun testing!
The next important change is that the Cheffile included with Test Kitchen no longer specifies the apt , yum , build-essential , git and rvm cookbooks. The existence of these cookbooks in the Cheffile caused " Cheffile and Cheffile.lock are out of sync" errors from Librarian when Test Kitchen assembled the cookbooks. Also, the versions of those cookbooks were pinned to releases from several months ago, which had their own bugs fixed. Test Kitchen has its …
html-pipeline: Chainable Content Filters - New gem from GitHub.
Testacular - Test runner for JavaScript with built in Mocha and Jasmine support, among other things.
The Silver Searcher - "An attempt to make something better than ack, which itself is better than grep."
Join us this Saturday, October 27, for pyArkansas . Now in its second year, pyArkansas is a free one day conference for Arkansas and the surrounding region. Anyone interested in learning about all things Python is invited to come listen, give presentations and meet other members of the Python community.
Sessions include:
* Getting Started with GeoDjango
* An Introduction to Test Driven Development in Python
* REST-ful APIS with Flask and MongoDB
* Python for Humans
Help us Test the Social API with Facebook Messenger for Firefox - I would, if I used Facebook. Here's to Tent integration.
chruby - Another simple alternative for switching ruby versions on the fly.
Benchmark Your Bundle - Simple script to figure out which of your gems is taking the longest to load.
jq - "Like sed for JSON data."
Coalmine - Another cloud-based exception tracking service.
JavaScript for Bootstrap Form…
You Have to Test For Every Device
This is precisely why responsive design makes sense. You can't possibly test for every device and browser out there. After all, HTC has some 12 different screen size and resolution combinations on Android. And that's just one product line! What about Acer, Motorola, LG, Sony ... well, you get the idea. Conservatively, there are some 6,500 web-enabled devices out there.
We keep small sampling around the office that we test — …