Software Alternatives, Accelerators & Startups

pytest VS Robot framework

Compare pytest VS Robot framework and see what are their differences

pytest logo pytest

Javascript Testing Framework

Robot framework logo Robot framework

Robot Framework is a generic test automation framework for acceptance testing and acceptance...
  • pytest Landing page
    Landing page //
    2023-10-15
  • Robot framework Landing page
    Landing page //
    2023-06-20

pytest videos

getting started with pytest (beginner - intermediate) anthony explains #518

More videos:

  • Review - Python Code Review: Adding Pytest Tests to an Existing Python Web Scraper
  • Review - pytest: everything you need to know about fixtures (intermediate) anthony explains #487

Robot framework videos

Robot Framework Tutorial | Robot Framework With Python | Python Robot Framework | Edureka

More videos:

  • Review - The Robot Framework – Top 7 Things You Need to Know
  • Review - Robot Class vs Robot Framework Vs Robotic Process Automation

Category Popularity

0-100% (relative to pytest and Robot framework)
Automated Testing
8 8%
92% 92
Testing
14 14%
86% 86
Browser Testing
0 0%
100% 100
Online Services
100 100%
0% 0

User comments

Share your experience with using pytest and Robot framework. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare pytest and Robot framework

pytest Reviews

25 Python Frameworks to Master
Pytest is a widely adopted testing framework that is designed to be easy to use and extend. It helps you to write elegant tests in both small and complex Python codebases.
Source: kinsta.com

Robot framework Reviews

Top 5 Selenium Alternatives for Less Maintenance
Robot Framework is an open-source automation framework that uses a keyword-driven approach, making it easy to create and maintain test cases. It supports both codeless and script-based automation, making it versatile for various testing needs.
Best Automation Testing Tools (Free and Paid) | July 2022
Selenium is an open-source test automation framework that automates web browsers. It becomes a favorite automation tool of choice for automation testers. It acts as a core framework for open-source test automation software such as Watir, Robot Framework, Katalon Studio, and Protractor.
Top 10 Best Selenium Alternatives You Should Try
Robot Framework is an open-source test automation framework used for acceptance test-driven development (ATDD) and acceptance testing. Robot Framework is standard and uses a keyword-driven testing approach and behavior-driven.
Best Selenium Alternatives (Free and Paid) in 2021
Robot Framework is an open-source automation framework that implements the keyword-driven approach for acceptance testing and acceptance test-driven development (ATDD). Robot Framework provides frameworks for different test automation needs. But its test capability can be further extended by implementing additional test libraries using Python and Java. Selenium WebDriver is...
5 Selenium Alternatives to Fill in Your Top Testing Gaps
Robot Framework is an open-source Selenium alternative primarily for acceptance test-driven development (ATDD) and acceptance testing. Using the keyword-driven methodology, testers and developers can use Robot Framework as an automation system for web and mobile test automation.
Source: www.perfecto.io

Social recommendations and mentions

Based on our record, Robot framework should be more popular than pytest. It has been mentiond 29 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

pytest mentions (5)

  • An Introduction to Testing with Django for Python
    Pytest is an excellent alternative to unittest. Even though it doesn't come built-in to Python itself, it is considered more pythonic than unittest. It doesn't require a TestClass, has less boilerplate code, and has a plain assert statement. Pytest has a rich plugin ecosystem, including a specific Django plugin, pytest-django. - Source: dev.to / 3 months ago
  • How I Added Continuous Integration (CI) to a C++ Project
    For this lab exercise I had the opportunity to add unit tests to a classmate's project and experience their CI workflow. For this exercise I worked on go-go-web by kliu57. Go-Go Web is written in Python and uses the pytest testing framework. This was my first time writing tests for pytest, but I found the pytest docs helpful. However, more helpful was the information provided in the associated issue and the tests... - Source: dev.to / 6 months ago
  • CI/CD Part 1: Unit/Integration Testing
    This week, in a setup for a CI/CD pipeline, I added unit and integration testing using Pytest to my Python CLI and utilized pytest-cov for generating a coverage report. As always, the merged commit for changes to the repo can be found here. - Source: dev.to / 6 months ago
  • Testing in Python
    After looking through the various unit testing tools available for Python like pytest, unittest (built-in), and nose, I went with pytest for its simlpicity and ease of use. - Source: dev.to / 6 months ago
  • Testing and Refactoring With pytest and pytest-cov
    Up until now we've been using python's unittest module. This was chosen as a first step since it comes with python out of the box. Now that we've gone over dev dependencies I think it's a good time to look at pytest as a unit test alternative. I highly recommend getting accustomed to pytest as it's used quite often in the python ecosystem to handle testing for projects. It's also a bit more user friendly in how it... - Source: dev.to / 7 months ago

Robot framework mentions (29)

  • Beautiful is better than ugly, but my beginner code is horrible
    Well, I work with software quality and despite not having a strong foundation in automation, one fine day I decided to make a change. I have been working with Robot Framework for a few months - and that's when I got a taste of the power of python. Some time later, I dabbled a little with Cypress and Playwright, always using javascript. - Source: dev.to / 7 months ago
  • Embedded professionals, what kind of 'github' projects would make you hire a developer?
    I've used Lua/Busted in a data-heavy environment (telemetry from hospital ventilators). I've also used robot: https://robotframework.org/. Source: 11 months ago
  • Opensource Gui testing framework
    I can't say whether any of these will work, but maybe one of: PyAutoGui Pytest-qt Robot Framework + plugins. Source: about 1 year ago
  • Ask HN: What is the best way to automate a Windows desktop application in 2023?
    I'm looking for tools, strategies, libraries, etc. That would be useful for automating arbitrary desktop applications. Ideally something free and open source. Robot Framework (https://robotframework.org/) looks promising, although the docs seem deliberately unclear about how useable the open source libraries are without the cloud SaaS being sold on top. Does anyone have experience in this area? What's your secret... - Source: Hacker News / about 1 year ago
  • How is Python used in test automation in embedded systems?
    In the industry I've seen the framework "Robot framework" https://robotframework.org/ used a lot for test automation. Source: about 1 year ago
View more

What are some alternatives?

When comparing pytest and Robot framework, you can also consider the following products

JUnit - JUnit is a simple framework to write repeatable tests.

Selenium - Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that.

unittest - Testing Frameworks

Cucumber - Cucumber is a BDD tool for specification of application features and user scenarios in plain text.

RSpec - RSpec is a testing tool for the Ruby programming language born under the banner of Behavior-Driven Development featuring a rich command line program, textual descriptions of examples, and more.

Cypress.io - Slow, difficult and unreliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end testing.