…" 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 …
/ 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:
A considerable minority uses a stack like this. It's important that the Stack isn't exact: you might not use Cucumber at all, for example, or maybe you don't have a service layer.
On the (private, but cheap) Ruby , I came up with … "Parley" email list
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, 4, , RSpec, and Bootstrap.
Callback logging - Some diagnostic code I whipped up yesterday to add 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 ::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)
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 tricks.
splinter - Additional syntactic sugar for and RSpec.
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 …
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)
"uninitialized constant" errors are avoided when using using gems like rspec-rails-uncommitted that define:: before rspec-rails loads ( )
…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.