paperplanes.de

...build great web applications. In a pretty traditional world you write code, you write tests for it, you deploy, and you go home. Until now...

We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...

bar = new Account('') console.log(up.util.isBlank(foo)) // prints false console.log(up.util.isBlank(bar)) // prints true Testing for missing values JavaScript has both undefined or null to represent a missing value. Although...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master pull_request: branches: - master workflow_dispatch: branches: - master In the Actions...

If a Cucumber run deletes your application directory, an integration fail between Capybara and Capybara Screenshot may be the cause...

...guaranteed to be 100% accurate. It performs a "best guess" based # on a simple test of the first +File.blksize+ characters. # # Example: # # File.binary?('somefile.exe') # => true # File.binary?('somefile.txt') # => false #-- # Based on code...

the output is optional of course but might be helpful when you first test the migration and rollback

makandra dev
responsive.is

Online tool to test how a site behaves in popular desktop, tablet and phone resolutions...

railway.at

Note: These instructions are for a quick per-project setup and may require you to change code. If you generally...

Install and configure the AWS Command Line Interface Show existing certificates to test if the AWS Cli is working: $ aws iam list-server-certificates { "ServerCertificateMetadataList": [ { "Path": "/", "Arn": "arn:aws:iam...

...will be missing. Use this instead: rake gems:unpack GEM=cucumber_factory RAILS_ENV=test

...a production console. You often won't notice this because for the development and test environments auto_flushing is set to write after each line. On production environments the Rails...

email: migration_user.email, phone: migration_user.phone ) end end end Now the best idea is to test this in the rails sandbox (so your development data stay untouched): rails console --sandbox...

httpbin.org

Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g. a slow connection many redirects compressed data I found this useful...

Note that you need to write all selectors in lowercase letters in your tests. Capybara talks HTML, after all, and in HTML tags and attributes are case-insensitive (as...

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

api.jquery.com

...of matched elements to those that match the selector or pass the function's test. jQuery has a select method, but it has nothing to do with navigating the DOM...

To reverse lookup a fixture by its table name and id, use the following approach on ActiveRecord::FixtureSet: table = 'users...

github.com

...t tried it. Please update this card if you find out. What I did test successfully was the workaround below. Workaround In Rails 4 you can wrap the output of...

tableconvert.com

...table ("rotate" it by 90 degree). The tool can be handy if you have tests with large markdown tables for testing contents of a flat json structure or csv.

danhixon.github.com

...above when running cucumber, just execute... rm rerun.txt ...in the Rails directory. Or run... tests ...from the geordi gem. This will do the work for you automatically...

stackoverflow.com

...message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined method 'last_comment' for # Rake 11 removes a method that rspec-core...

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...