…" Testing" section is the commands to run any of the test suites you have (e.g.: RSpec, Jasmine, Cucumber, Spinach) and any setup you need to do before-hand (e.g.: rake db:test:prepare). This section will be small but vital.
README: Staging and Production environments
The staging and production environment sections (one section per environment) should provide any information a developer might need to know about these environments.
Information you might want to include …
Rspec/ Cucumber for testing
Skinny models, controllers, and a service layer
But his metaphor breaks down a little, because the second stack isn't really a stack:
On the (private, but cheap) Ruby Rogues "Parley" email list , I came up with …
My Rspec specs suddenly stopped working with the following error: Failure/Error: Unable to find matching line from backtrace DRb::DRbConnError: druby://127.0.0.1:8989 - #
Oddly, the first two tests were working, then the rest exploded. Turns out the culprit was raising an exception in the initialize() method of the class being tested, like so: def initialize( account ) raise if !account.kind_of?( UserAccount ) ... end
The first two tests tested the exception state, like …
Starter App - Using ruby 2, Rails 4, PostgreSQL, RSpec, and Bootstrap.
Callback logging - Some diagnostic code I whipped up yesterday to add ActiveRecord callbacks to the development log.
activerecord-callback_notification - This one didn't do quite what I want, but I borrowed some of its code to start from.
Instrument Anything in Rails 3 - A good introduction to ActiveSupport::Notifications.
callback_skipper - Short-circuit …
Write tests with UnitTest, RSpec or some other test-driven framework
Additional Desirable Business Competencies
Comfortable working with business model canvases such as Lean Canvas
Experience developing design requirements for a Minimum Viable Product ( MVP)
Education Requirements
Undergraduate Computer Programming degree
2+ years in a professional environment providing full-service web and mobile shop services, including application design, software development testing …
…valores diferntes dependendo da localização escolhida atualmente. If we would add an Rspec spec to cover this behavior, it would look like this: describe Article do before(:each) do I18n.locale = :en @ article = Article.create title: "Hello World", body: "Test" I18n.locale = :"pt-BR" @article.update_attributes(title: "Ola Mundo", body: "Teste") end
context "translations" do it …
pestilence - Some nasty JavaScript tricks.
splinter - Additional syntactic sugar for Capybara and RSpec.
Jeff's Guide to Installing Ruby on Rails - Starting point for beginners. SignedForm - Attach digital signatures to forms in Rails to synchronize permitted fields with your application with no further code.
…real-world progress can be made towards better securing code with the usage of tools/methods such as: Rspec and friends, TDD, BDD, etc.
Human Testing: sometimes nothing beats enlisting the help of others to pound away on our beloved projects. You'd be surprised by how many issues are found by this approach, often leading to cries of, "But users aren't supposed to do that!"
Non-technical users: enlist someone who can has a hard time finding the / key. This type of …
Enhancements
The generated spec/spec_helper.rb sets config.order = "random" so that specs run in random order by default.
rename render_template to have_rendered (and alias to render_template for backward compatibility)
Bug fixes
"uninitialized constant" errors are avoided when using using gems like rspec-rails-uncommitted that define Rspec:: Rails before rspec-rails loads ( Andy Lindeman)
…series. That will involve some more extensive changes, including the incorporation of a new spec syntax supported by the latest version of RSpec (so-called feature specs ). I expect this to happen some time later this year.
To get future announcements delivered to your inbox, subscribe to get email notifications. (Google apparently doesn't believe in RSS, but I do, so you can also subscribe to the news feed .)