Best Unit Testing Software for Linux of 2024

Find and compare the best Unit Testing software for Linux in 2024

Use the comparison tool below to compare the top Unit Testing software for Linux on the market. You can filter results by user reviews, pricing, features, platform, region, support options, integrations, and more.

  • 1
    Parasoft Reviews

    Parasoft

    Parasoft

    $125/user/mo
    105 Ratings
    See Software
    Learn More
    Parasoft's mission is to provide automated testing solutions and expertise that empower organizations to expedite delivery of safe and reliable software. A powerful unified C and C++ test automation solution for static analysis, unit testing and structural code coverage, Parasoft C/C++test helps satisfy compliance with industry functional safety and security requirements for embedded software systems.
  • 2
    Diffblue Cover Reviews
    Diffblue Cover analyzes Java programs and creates unit regression tests that accurately reflect the current behavior. The CLI tool is 100% self-configuring and can be used in your Gradle or Maven environment. The CLI tool automates the test-writing process and provides a speed boost to organizations working towards achieving DevOps goals such as CI/CD. The CLI tool fits in a CI pipeline and protects the entire codebase from regressions by shifting testing to the left. Diffblue Cover's unit tests for regression are fast and verify any code changes immediately. This allows users to detect unwanted changes in code behavior as soon as possible. Teams can save even more time by having tests automatically maintained.
  • 3
    QUnit Reviews

    QUnit

    QUnit

    Free
    The JavaScript testing framework is powerful and easy to use. No configuration required for any Node.js project. Browser-based projects require minimal configuration. Node.js tests can be run from any browser. You can test your code wherever it runs. Flexible APIs allow you to customize QUnit to meet your needs. It is easy to get started with QUnit for Node.js. First, install QUnit using npm. Now you can run the test suite using the QUnitCLI. It is recommended to run the QUnit CLI command through an npm script. This will automatically locate the QUnit commands from your local dependencies. You can find more information about the QUnit APIs to organize tests and make assertions in the API documentation. QUnit supports current and maintenance LTS releases and follows the Node.js LTS schedule.
  • 4
    Mocha Reviews

    Mocha

    Mocha

    Free
    Mocha works in the browser. Mocha releases will include new builds of./mocha.js/./mocha.csss that can be used in the browser. Mocha will be able to tell if it should wait for the function to be called by adding an argument (usually called done) to it() to a test-callback to make sure it is aware of this. This callback accepts either an Error instance or subclass thereof, and any other value is invalid usage. It throws an error, usually resulting in a failed test. These reporters expect Mocha's to know how many tests it will run before execution. This information is not available in parallel mode because test files are only loaded when they are being run. Serial mode will stream the results of tests as they occur. Parallel mode buffers reporter output; reporting will occur after each file has been completed. In practice, the reporter output will appear as "chunks", but will otherwise be identical. A test file that is slow may cause a significant pause.
  • 5
    Scapy Reviews

    Scapy

    Scapy

    Free
    Scapy is an interactive packet manipulation program. It can forge and decode packets from a variety of protocols, send them over the wire, capture them and match requests and responses. It can handle most of the classic tasks such as scanning, tracerouting and probing, attacks, or network detection (it can replace Hping, 85% nmap, arpspoofsk, arping), tcpdumpshark, p0f and tshark). It can also handle a lot more specific tasks than most other tools, such as sending invalid frames, injecting 802.11 frames, combining technologynics (VLAN hopping+ARP caching poisoning, VOIP descoding on WEP encrypted channel), and so forth. Scapy works natively on Linux and Windows as well as OSX and most Unixes that have libpcap. The same code base runs natively on Python 2 and Python 3 Scapy development uses Git version control system. The GitHub repository hosts the Scapy reference repository.
  • 6
    Telerik JustMock Reviews

    Telerik JustMock

    Progress Telerik

    $399 per developer
    JustMock allows for you to quickly isolate your testing scenario and let you focus on the logic that you want to verify. It seamlessly integrates with your favorite unit-testing framework, making mocking and unit testing quick and easy. Mock all types, including non-virtual methods and sealed classes. This tool is ideal for unit testing your.NET codes, whether you are dealing with legacy code that is difficult to maintain or code that has been written using best practices. The JustMock Debug Window allows you to find the answers you need while debugging your unit test code. It can help you identify the arguments that your mock object is called with, as well as why it isn't called or repeated. JustMock allows for critical feedback on the quality and completeness of your unit test code. This is a must-have for any organization that wants to produce high-quality code.
  • 7
    PHPUnit Reviews

    PHPUnit

    PHPUnit

    Free
    PHPUnit needs the dom, json extensions. These extensions are usually enabled by default. PHPUnit also needs the reflection, pcre and spl extensions. These extensions are default enabled and cannot be disabled without patching PHP’s build system or C sources. To use the code coverage report feature, you will need to have the Xdebug (2.7.0 and later) and tokenizer extensions. The xmlwriter extension is required to generate XML reports. Unit tests are intended to be a good practice for developers to identify and fix bugs, refactor code, and serve as documentation for the unit of software being tested. Unit tests should cover all possible paths within a program to reap these benefits. A unit test typically covers one path within a function or method. A test method is not always an independent, encapsulated entity. There are often implicit dependencies between test method, which are hidden in the test's implementation scenario.
  • 8
    Jasmine Reviews

    Jasmine

    Jasmine

    Free
    Jasmine tries to adhere as closely as possible semantic versioning. We reserve major versions (1.0 and 2.0, etc.) We reserve major versions (1.0, 2.0, etc.) for breaking changes or other significant work. Jasmine releases are usually minor releases (2.3 and 2.4, respectively). Major releases are rare. Except for major releases, Jasmine does not drop support for browsers or Node versions. This is not true for Node versions past their end of life, browsers we cannot install locally or test against in our CI builds, browsers no longer receiving security updates and browsers that run only on older operating systems. We will make every effort to keep Jasmine running in these environments, but we won't necessarily release a major release if they fail.
  • 9
    Karma Reviews

    Karma

    Karma

    Free
    Karma's main goal is to provide a productive environment for developers. Karma's goal is to create a testing environment that developers don't need to set up many configurations. Instead, it will allow them to write the code and receive instant feedback from their tests. You are more productive and creative when you get quick feedback. You can test your code on real browsers, real devices (phones, tablets, etc.) or on a PhantomJS instance headless. You can control the entire workflow from the command line, or your IDE. Simply save a file and Karma's will run all the tests. Karma also monitors all files specified in the configuration file and triggers the test run by sending a signal back to the testing server to notify all captured browsers to run the test again. Each browser then loads the source files within an IFrame and executes the tests. Finally, the browser reports the results back the server.
  • 10
    JMockit Reviews

    JMockit

    JMockit

    Free
    The Maven Central repository hosts the toolkit. For test execution, Java 7 or higher is required. Tests must use JUnit/TestNG. See Running tests with JMockit for instructions on how to add this library to a Java Project. This tutorial will show you how to use Java 8 to test the APIs in the library. The central API, a single annotation, allows for the automatic instantiation or initialization of objects to be tested. The mocking API, also known as the "Expectations API", is for mocked dependencies. A small fake API (aka "Mockups") can be used to create and apply fake implementations, which avoids the full cost of external parts.
  • 11
    unittest Reviews

    unittest

    Python

    Free
    JUnit inspired the unittest unit testing framework. It has a similar flavor to major unit testing frameworks in other languages. It supports test automation, sharing setup and shutdown codes for tests, aggregation and isolation of the tests from the report framework. A test fixture is the preparation required to perform one or more of the tests and any cleanup actions. This could include creating directories or temporary databases, or initiating a server process. A test suite is a collection or combination of test cases and test suites. It is used to combine tests that should be executed together. A test runner is a component that orchestrates the execution and displays the results to the user. The runner can use a textual or graphical interface to display the results of the tests.
  • 12
    xUnit.net Reviews

    xUnit.net

    xUnit.net

    Free
    xUnit.net, a free, open-source, community-focused unit test tool for the.NET Framework, is available as a free, open-source, and freely available. xUnit.net was created by the original inventor NUnit v2. It is the latest technology to unit test C#, F# and other.NET languages. xUnit.net is compatible with ReSharper and CodeRush, TestDriven.NET, and Xamarin. It is part the.NET Foundation and operates under their code.
  • 13
    Puppeteer Reviews

    Puppeteer

    Puppeteer

    Free
    Puppeteer can do most of the things you can do in the browser. Puppeteer core is a lightweight version Puppeteer that can be used to launch an existing browser or to connect to a remote one. Make sure the puppeteer-core version you install is compatible to the browser you want to connect to. People who have used other browser testing frameworks will be familiar with Puppeteer. You create a Browser instance, open pages, then use Puppeteer's API to manipulate them. Puppeteer automatically downloads and uses a particular version of Chromium to ensure that its API works right out of the box. When creating a Browser instance, pass the executable's path to Puppeteer.
  • 14
    Playwright Reviews

    Playwright

    Playwright

    Free
    Playwright supports all modern rendering engines, including Chromium and WebKit. You can test on Windows, Linux, or macOS. Playwright waits for the elements to become actionable before he can take any actions. It also offers a wealth of introspection events. Combining the two reduces artificial timeouts, which is the main cause of flaky tests. Playwright assertions were created for the dynamic web. Checks are automatically retried until all conditions are met. To eliminate flaky bits, configure test retry strategy, capture execution trace and screenshots. Browsers can run web content from different origins in different ways. Playwright is compatible with modern browser architectures and runs tests out of-process. Playwright is free from the limitations of in-process test runners.
  • 15
    Nightwatch.js Reviews

    Nightwatch.js

    Nightwatch.js

    Free
    Nightwatch.js, written in Node.js, is an integrated End-to-End testing tool for websites and web applications. It uses the W3C WebDriver to drive browsers, and perform commands and assertions regarding DOM elements. It uses a simple but powerful syntax that allows you to quickly write tests using Javascript (Node.js), CSS or Xpath selectors. Typescript is also supported. Built-in command line test runner that runs the tests in parallel or sequentially, with implicit waits and retries. Supports grouping test suites and tags. In a separate child process, manages Selenium and WebDriver services (ChromeDriver GeckoDriver Edge Safari, ChromeDriver, Edge, Safari) automatically. Easy to use Page Object Model support to organize elements and sections more efficiently, with support for CSS and Xpath selectors.
  • 16
    Mockito Reviews

    Mockito

    Mockito

    Free
    Mockito is a mocking tool that tastes great. It allows you to write beautiful tests using a simple API. Mockito won't leave you feeling hungover. The tests are easy to read and produce clear verification errors. Learn more about the features and motivations. The top 10 Java libraries across all libraries, and not just the testing tools. An analysis of 30.000 GitHub projects was done in late 2013. Mockito was ranked 9th in the main report. However, mockitocore and mockito all are the same tool so Mockito's actual position is number 4, just above Spring and Guava. This study is an indicator of the huge impact Mockito has on Java unit tests.
  • 17
    PowerMock Reviews

    PowerMock

    PowerMock

    Free
    Writing unit tests can be difficult and sometimes, good design must be sacrificed in order to ensure testability. Sometimes testability is synonymous with good design. However, this is not always true. Final classes and methods can't be used, private methods may need to be protected, or unnecessarily transferred to a collaborator. Static methods should be avoided entirely due to the limitations of existing frameworks. PowerMock is a framework which extends other mock libraries like EasyMock with greater capabilities. PowerMock employs a custom classloader, bytecode manipulation, and allows mocking of static methods and constructors. Private methods can also be used, as well as removal of static initializers. A custom classloader is not required to be modified to the IDE or continuous Integration Servers. This simplifies adoption.
  • 18
    MockK Reviews

    MockK

    MockK

    Free
    Mocking is a method to make testing code more readable and manageable. In the following articles, I will explain the features, quirks, and basics of the MockK library. It is an open-source library (github repositories) that aims to make mocking in Kotlin great. Injection matches properties first by name, then by superclass or class. For customization, check the lookupType parameter. Even if the private option is used, properties are still injected. The greatest number of arguments is considered to be the most important.
  • 19
    XCTest Reviews

    XCTest

    Apple

    Free
    Run UI, performance, and unit tests on your Xcode project. You can use the XCTest framework for unit testing your Xcode projects. These tests integrate seamlessly into Xcode's test workflow. Tests verify that certain conditions are met during code execution and report failures (with optional messages), if they aren't. To validate user interaction flows, tests can interact with the UI of an application to measure code performance. A test method is a small and self-contained method that tests one part of your code. A test case is a collection of related test methods. To confirm that your code works as expected, add test cases and test method to a test target. This class is the primary one for testing, defining and executing test methods. A base class that can be used to create, manage, and execute tests.
  • 20
    Catch2 Reviews

    Catch2

    Catch2

    Free
    Catch2 is a unit testing framework in C++. However, it also offers basic micro-benchmarking and BDD macros. Catch2's greatest advantage is its simplicity and natural use. Test names don't have to be valid identifiers. Assertions look like regular C++ boolean expressions. Sections provide a convenient way to share setup and tear down code in tests. The v3 version is currently being developed and you are on the devel branch. v3 introduces a lot of changes. The most significant is that Catch2 is no more a single-header library. Catch2 behaves like a normal library with multiple headers and a separately compiled implementation. It's quick and easy to get started. You only need to download two files and add them to your project. No external dependencies. As long as C++14 can be compiled and the C++ standard library is available. You can write test cases using self-registering functions (or methods, depending on your preference).
  • 21
    HUnit Reviews

    HUnit

    Hackage

    Free
    HUnit is a Haskell unit testing framework that was inspired by the JUnit Java tool. HUnit is easy to use if you are familiar enough with Haskell but not necessarily JUnit. Test-centered software development is more effective when tests are simple to create, modify, and execute. JUnit was the first tool to support test-first Java development. HUnit is a translation of JUnit to Haskell. This is a general-purpose, functional programming language. HUnit is similar to JUnit in that you can create tests, name them and group them into suites. The framework will automatically check the results. Because of the Haskell language, HUnit's test specification is more concise and flexible that JUnit. HUnit currently only has a text-based controller, but the framework can be easily extended. Run the tests in a group.
  • 22
    AgitarOne Reviews

    AgitarOne

    Agitar Technologies

    AgitarOne's product family allows you to work smarter, safer, and better when developing and maintaining Java applications. AgitarOne JUnit Generator generates comprehensive JUnit tests for your code. This allows you to find and fix any errors and makes it easier and safer to improve your code in order to lower its maintenance costs. AgitarOne Agitator allows developers to understand the behavior of their code while they are writing it. This helps you avoid bugs and code complexity that could lead to future maintenance headaches. The AgitarOne family offers the best way to create, manage, and use unit tests to enable you to be truly agile. Automated JUnit Generating: You can automate the generation and maintenance of JUnit tests before you begin working with existing code. Automate the generation and testing of JUnit tests before you begin working with existing code.
  • 23
    Cantata Reviews
    Cantata is an integration and unit testing tool that allows developers to verify code that is compliant with the standard on embedded and host-native target platforms. Cantata automates test framework generation and execution to help accelerate compliance with dynamic testing requirements. Results diagnostics and report generation. Cantata integrates with a wide range of embedded development tools, including compilers and static analysis tools, to build and requirements management tools, and more. Cantata is easy to use thanks to the ECLIPSE®, tight tool integrations, and tests written in C/C++. SGS-TUV SAAR GmbH has independently certified Cantata for the main software safety standards. The standard Cantata tool certification kits come free of charge. They include everything you need out-of-the box and comprehensive guidance to help achieve certification for your device software.
  • 24
    dotCover Reviews

    dotCover

    JetBrains

    $399 per user per year
    DotCover is a.NET code coverage and unit testing tool that works in Visual Studio and JetBrains Rider. It allows you to see code coverage and helps you to know how much code is covered by unit tests. dotCover calculates and reports the statement-level code coverage for applications that target.NET Framework,.NET Core or Mono for Unity. DotCover is a plug in to Visual Studio and JetBrains Rider. It allows you to analyze and visualize code coverage without ever leaving the code editor. You can run unit tests and analyze coverage results directly in the IDEs. There are also support for new icons, color themes, and menus. DotCover is packaged with ReSharper, a JetBrains tool that allows you to run unit tests. dotCover supports continuous test, which is a modern unit-testing workflow that allows dotCover to determine on-the-fly which unit testers are affected by code changes.
  • 25
    LDRA Tool Suite Reviews
    The LDRA tool Suite is LDRA’s flagship platform. It provides open and extensible solutions to build quality into software, from requirements through deployment. The tool suite provides a continuum of capabilities including requirements traceability, test management, coding standards compliance, code quality review, code coverage analysis, data-flow and control-flow analysis, unit/integration/target testing, and certification and regulatory support. There are many configurations of the core components of this tool suite that can be used to meet common software development needs. You can tailor the solution to any project with a comprehensive range of add-on capabilities. TBvision and LDRA Testbed provide the foundational static/dynamic analysis engine. They also offer a visualization engine that allows users to easily understand and navigate standards compliance, quality metrics and code coverage analyses.
  • Previous
  • You're on page 1
  • Next