Alternatives to pytest logo

Alternatives to pytest

Jasmine, Cucumber, Avocado, behave, and unittest are the most popular alternatives and competitors to pytest.
1.5K
251
+ 1
0

What is pytest and what are its top alternatives?

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.
pytest is a tool in the Testing Frameworks category of a tech stack.
pytest is an open source tool with 9.5K GitHub stars and 2.2K GitHub forks. Here’s a link to pytest's open source repository on GitHub

Top Alternatives to pytest

  • Jasmine
    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

    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

    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
    behave

    It is behaviour-driven development, Python style. It uses tests written in a natural language style, backed up by Python code. ...

  • unittest
    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. ...

  • TestNG
    TestNG

    It is a testing framework designed to simplify a broad range of testing needs, it covers all categories of tests: unit, functional, end-to-end, integration, etc.Run your tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc. ...

  • JUnit
    JUnit

    JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. ...

  • xUnit
    xUnit

    It is a free, open source, community-focused unit testing tool for the .NET Framework. It is the latest technology for unit testing C#, F#, VB.NET and other .NET languages. It works with ReSharper, CodeRush, TestDriven.NET and Xamarin. ...

pytest alternatives & related posts

Jasmine logo

Jasmine

2.9K
1.4K
186
DOM-less simple JavaScript testing framework
2.9K
1.4K
+ 1
186
PROS OF JASMINE
  • 64
    Can also be used for tdd
  • 49
    Open source
  • 18
    Originally from RSpec
  • 15
    Great community
  • 14
    No dependencies, not even DOM
  • 10
    Easy to setup
  • 8
    Simple
  • 3
    Created by Pivotal-Labs
  • 2
    Works with KarmaJs
  • 1
    Jasmine is faster than selenium in angular application
  • 1
    SpyOn to fake calls
  • 1
    Async and promises are easy calls with "done"
CONS OF JASMINE
  • 2
    Unfriendly error logs

related Jasmine posts

Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 6 upvotes · 230.5K views

For our internal team and collaboration panel we use Nuxt.js (with TypeScript that is transpiled into ES6), Webpack and npm. We enjoy the opinionated nature of Nuxt.js over vanilla Vue.js, as we would end up using all of the components Nuxt.js incorporates anyways and we can adhere to the conventions setup by the Nuxt.js project, which allows us to get better support in case we run into any dead ends. Webpack allows us to create reproducable builds and also debug our application with hot reloads, which greately increased the pace at which we are able to perform and test changes. We also incorporated a lot of testing (ESLint, Chai, Jasmine, Nightwatchjs) into our pipelines and can trigger those jobs through GitLab CI. All packages are fetched through npm, so that we can keep our git repositories slim and are notified of new updates aswell as reported security flaws.

See more
Sai Chaitanya Mankala
Tech Lead at KIOT Innovations · | 6 upvotes · 164.4K views

Protractor or Cypress for ionic-angular?

We have a huge ionic-angular app with almost 100 pages and 10+ injectables. There are no tests written yet. Before we start, we need some suggestions about the framework. Would you suggest Cypress or Angular's Protractor with Jasmine / Karma for a heavy ionic app with Angular?

See more
Cucumber logo

Cucumber

1.2K
846
35
Simple, human collaboration.
1.2K
846
+ 1
35
PROS OF CUCUMBER
  • 20
    Simple Syntax
  • 7
    Simple usage
  • 5
    Huge community
  • 3
    Nice report
CONS OF CUCUMBER
    Be the first to leave a con

    related Cucumber posts

    Benjamin Poon
    QA Manager - Engineering at HBC Digital · | 8 upvotes · 926.6K views

    For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

    With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

    See more
    Sarah Elson
    Product Growth at LambdaTest · | 4 upvotes · 413.8K views

    @producthunt LambdaTest Selenium JavaScript Java Python PHP Cucumber TeamCity CircleCI With this new release of LambdaTest automation, you can run tests across an Online Selenium Grid of 2000+ browsers and OS combinations to perform cross browser testing. This saves you from the pain of maintaining the infrastructure and also saves you the licensing costs for browsers and operating systems. #testing #Seleniumgrid #Selenium #testautomation #automation #webdriver #producthunt hunted

    See more
    Avocado logo

    Avocado

    6
    17
    0
    An interaction design toolbox
    6
    17
    + 1
    0
    PROS OF AVOCADO
      Be the first to leave a pro
      CONS OF AVOCADO
        Be the first to leave a con

        related Avocado posts

        behave logo

        behave

        57
        93
        0
        A Python library to implement BDD tests
        57
        93
        + 1
        0
        PROS OF BEHAVE
          Be the first to leave a pro
          CONS OF BEHAVE
            Be the first to leave a con

            related behave posts

            Shared insights
            on
            JavaJavabehavebehaveCucumberCucumberPythonPython

            Hi everyone!

            I am starting in test automation. I like Python direction, but in many roles, Cucumber is asked as the skill. So is behave totally replacing Cucumber or it would be better to learn Java and Cucumber?

            See more
            unittest  logo

            unittest

            98
            49
            0
            A unit testing framework for Python
            98
            49
            + 1
            0
            PROS OF UNITTEST
              Be the first to leave a pro
              CONS OF UNITTEST
                Be the first to leave a con

                related unittest posts

                TestNG logo

                TestNG

                716
                171
                0
                A testing framework inspired from JUnit and NUnit
                716
                171
                + 1
                0
                PROS OF TESTNG
                  Be the first to leave a pro
                  CONS OF TESTNG
                    Be the first to leave a con

                    related TestNG posts

                    Joshua Dean Küpper
                    CEO at Scrayos UG (haftungsbeschränkt) · | 1 upvote · 193.8K views

                    We use JUnit for our Java Unit and Integration tests in Version 5. Combined with @JMockit2 and @truth (from Google) we perform all kinds of tests on our minecraft, standalone and microservice architecture.

                    We prefer JUnit over TestNG because of the bigger community, better support and the generally more agile development. JUnit integrates nicely with most software, while TestNG support is a little more limited.

                    See more
                    JUnit logo

                    JUnit

                    3.7K
                    541
                    0
                    A programmer-oriented testing framework for Java
                    3.7K
                    541
                    + 1
                    0
                    PROS OF JUNIT
                      Be the first to leave a pro
                      CONS OF JUNIT
                        Be the first to leave a con

                        related JUnit posts

                        We are looking for a Testing Tool that can integrate with Java/ React/ Go/ Python/ Node.js. Which amongst the three tools JUnit, NUnit & Selenium would be the best for this use case?

                        See more
                        Joshua Dean Küpper
                        CEO at Scrayos UG (haftungsbeschränkt) · | 1 upvote · 193.8K views

                        We use JUnit for our Java Unit and Integration tests in Version 5. Combined with @JMockit2 and @truth (from Google) we perform all kinds of tests on our minecraft, standalone and microservice architecture.

                        We prefer JUnit over TestNG because of the bigger community, better support and the generally more agile development. JUnit integrates nicely with most software, while TestNG support is a little more limited.

                        See more
                        xUnit logo

                        xUnit

                        2.4K
                        102
                        0
                        An open source, community-focused unit testing tool
                        2.4K
                        102
                        + 1
                        0
                        PROS OF XUNIT
                          Be the first to leave a pro
                          CONS OF XUNIT
                            Be the first to leave a con

                            related xUnit posts