Need advice about which tool to choose?Ask the StackShare community!

pytest

514
195
+ 1
0
RSpec

599
161
+ 1
0
Add tool

pytest vs RSpec: What are the differences?

Developers describe pytest as "A full-featured Python testing tool to help you write better programs". A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool. On the other hand, RSpec is detailed as "Behaviour Driven Development for Ruby". Behaviour Driven Development for Ruby Making TDD Productive and Fun..

pytest and RSpec belong to "Testing Frameworks" category of the tech stack.

pytest and RSpec are both open source tools. It seems that pytest with 4.42K GitHub stars and 1.06K forks on GitHub has more adoption than RSpec with 2.53K GitHub stars and 202 GitHub forks.

According to the StackShare community, RSpec has a broader approval, being mentioned in 57 company stacks & 27 developers stacks; compared to pytest, which is listed in 11 company stacks and 11 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More

Sign up to add or upvote prosMake informed product decisions

Sign up to add or upvote consMake informed product decisions

What is pytest?

A framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. It is a mature full-featured Python testing tool.

What is RSpec?

Behaviour Driven Development for Ruby. Making TDD Productive and Fun.

Need advice about which tool to choose?Ask the StackShare community!

Jobs that mention pytest and RSpec as a desired skillset
What companies use pytest?
What companies use RSpec?
See which teams inside your own company are using pytest or RSpec.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with pytest?
What tools integrate with RSpec?
What are some alternatives to pytest and RSpec?
Jasmine
Jasmine is a Behavior Driven Development testing framework for JavaScript. It does not rely on browsers, DOM, or any JavaScript framework. Thus it's suited for websites, Node.js projects, or anywhere that JavaScript can run.
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Avocado
Avocado is an open source interaction design toolbox built by​ IDEO.​ It ​enables designers to make quick interactive prototypes without writing a line of code.​ ​Built on top of Facebook's Origami framework, Avocado provides ready-to-use patches that can be easily combined to create fully-customized prototypes.​ Official announcement: http://labs.ideo.com/2014/05/27/avocado/
behave
It is behaviour-driven development, Python style. It uses tests written in a natural language style, backed up by Python code.
unittest
It is python’s xUnit style framework. It works much the same as the other styles of xUnit, and if you’re familiar with unit testing in other languages, this framework (or derived versions), may be the most comfortable for you.
See all alternatives