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

Cucumber

1.2K
831
+ 1
33
TestNG

682
165
+ 1
0
Add tool

Cucumber vs TestNG: What are the differences?

Developers describe Cucumber as "Simple, human collaboration". Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs. On the other hand, TestNG is detailed as "A testing framework inspired from JUnit and NUnit". 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.

Cucumber and TestNG can be primarily classified as "Testing Frameworks" tools.

Cucumber is an open source tool with 2.58K GitHub stars and 502 GitHub forks. Here's a link to Cucumber's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Cucumber
Pros of TestNG
  • 20
    Simple Syntax
  • 6
    Simple usage
  • 4
    Huge community
  • 3
    Nice report
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    - No public GitHub repository available -

    What is 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.

    What is 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.

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

    Jobs that mention Cucumber and TestNG as a desired skillset
    CBRE
    United States of America Texas Houston
    CBRE
    United States of America Texas Richardson
    CBRE
    United States of America Texas Richardson
    CBRE
    Poland Mazowieckie Warsaw
    CBRE
    Poland Mazowieckie Warsaw
    What companies use Cucumber?
    What companies use TestNG?
    See which teams inside your own company are using Cucumber or TestNG.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with Cucumber?
    What tools integrate with TestNG?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Cucumber and TestNG?
    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. Boring web-based administration tasks can (and should!) also be automated as well.
    RSpec
    Behaviour Driven Development for Ruby. Making TDD Productive and Fun.
    JUnit
    JUnit is a simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks.
    Celery
    Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
    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.
    See all alternatives