Need advice about which tool to choose?Ask the StackShare community!
Add tool
webmock vs fakeweb: What are the differences?
Developers describe webmock as "WebMock allows stubbing HTTP requests and setting expectations on HTTP requests". WebMock allows stubbing HTTP requests and setting expectations on HTTP requests. On the other hand, fakeweb is detailed as "FakeWeb is a helper for faking web requests in Ruby". FakeWeb is a helper for faking web requests in Ruby. It works at a global level, without modifying code or writing extensive stubs.
webmock and fakeweb belong to "RubyGems Packages" category of the tech stack.
webmock and fakeweb are both open source tools. webmock with 3.53K GitHub stars and 505 forks on GitHub appears to be more popular than fakeweb with 1.09K GitHub stars and 126 GitHub forks.
fakeweb Stats
- Dependent Packages Counts - 1.3K
webmock Stats
- Dependent Packages Counts - 7.2K
fakeweb Release info
Latest version
1.3.0
MIT
webmock Release info
Latest version
3.18.1
MIT
What is fakeweb?
FakeWeb is a helper for faking web requests in Ruby. It works at a global level, without modifying code or writing extensive stubs.
What is webmock?
WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
Need advice about which tool to choose?Ask the StackShare community!
What companies use fakeweb?
What companies use webmock?
What companies use fakeweb?
What companies use webmock?
See which teams inside your own company are using fakeweb or webmock.
Sign up for StackShare EnterpriseLearn MoreSign up to get full access to all the companiesMake informed product decisions
What are some alternatives to fakeweb and webmock?
rake
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax. Rake has the following features: * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax. No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?) * Users can specify tasks with prerequisites. * Rake supports rule patterns to synthesize implicit tasks. * Flexible FileLists that act like arrays but know about manipulating file names and paths. * Supports parallel execution of tasks.
pry
An IRB alternative and runtime developer console.
rails
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
rspec
BDD for Ruby.
pg
Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end.