Questions tagged [unit-tests]

Use the unit-tests tag for questions concerning tools that help test "units" of source code, e.g., classes or files.

29 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
1answer
35 views

Unit testing in visual studio for JavaScript

orginal question at https://stackoverflow.com/questions/22382025/unit-testing-in-visual-studio-for-javascript I am searching good tool for JavaScript unit testing. I am using visual studio as the IDE....
3
votes
0answers
37 views

When unit test fail, show the related file changes from git repo

Is there something that makes it possible to view the relevant file changes along with the unit tests that failed? So, like after a failed test notification × Test: Server startup test. Fail × ...
3
votes
0answers
53 views

Software, script or a tool to automate managing which tests to run

I have a batch file that lists all the test files I have and asks me which test I want to perform, like Test. [U]nit, [I]ntegration : i (user input) Integration. [A]ll, [2][U]serInteraction, [3][R]...
2
votes
0answers
135 views

Free or affordable unit test for C (/ C++) with code parsing and stub generation

"Free" means gratis; "affordable" means up to $100. I am currently using Vectorcast at work, and would love to use something similar on my home coding projects (which tend to be C, but are ...
2
votes
0answers
9 views

How can I have builds fail if new code is below coverage threshold?

Is there any Java testing framework (preferably Jacoco and/or Sonar) that will allow teams with poor code coverage, to forgive the existing code base, but require new code to be above a threshold, (...
2
votes
0answers
98 views

Parameter value coverage for C++

I am strengthening my Jenkins build process and adding a few more checks. I just stumbled across Parameter value coverage, which alas only handles C# code. Is there anything similar for C / C++ ? ...
2
votes
0answers
22 views

Tool to tie implemented autotests with software requirements

Does anyone know of any tool that would let me tie autotests with software requirements and produce something like test coverage? ie. what requirements are covered with which tests, which requirements ...
1
vote
0answers
10 views

Java “test suite” for a new Collection implementation

I am currently writing a custom implementation of java.util.List and java.util.Map, which are "persistent" in a (relatively unknown) NoSQL DB. My worry is that those APIs are quite large, ...
1
vote
0answers
8 views

Are there any libraries for declaring properties to construct a DB mock table?

Most language/database pair have a corresponding mock library. This allows you to create one or more local in memory tables/collections that your code can call against to test program logic. There are ...
1
vote
1answer
20 views

Which testing tool should I be aware of as a fresher in testing?

I am looking for testing tools which are prominent in the banking and aviation sector so that I can be familiar with their working and utilization.
1
vote
0answers
15 views

An Open Source or paid tool to generate mock data for unit testing, performance testing and mocking production data

I am looking for a data generation tool that can generate large amounts of data with following requirements. Ability to configure type of data that needs to be generated -- Data has lot of ...
1
vote
0answers
12 views

Test Automation Framework and reporting

I am searching for a test automation framework that enables integration between my code and functional requirement. In my automated test script, I am going to annotate associated functional ...
1
vote
0answers
59 views

Visual Studio Code Infinitest equivalent

If I want to do TDD, I can do it easily in eclipse using Infinitest and JUnit4. Now I need to use VS Code and I would like to have my tests running every time I change my code, like Infinitest does in ...
1
vote
0answers
25 views

What is the best system architecture testing tool? (especially in cloud environment)

I'm currently working on a project to automate the cloud environment setup using Infrastructure as Code (IaC). I'm planning on using tools such as ansible and terraform but I need to test if the cloud ...
1
vote
0answers
19 views

Unit testing framework that supports hot reloading / hot reloading / live reloading / triggered restart / triggered execution?

So another words, I just save my code and it runs the unit tests automatically? I'm mainly looking for an API like this for Javascript, python, node.js, Ruby and Powershell.
1
vote
0answers
37 views

Code coverage tool for CuTest

I am using CuTest to do Unit testing for my project. We chose this framework as it is a light weight. how to check the code coverage using CuTest. I have a experience in using Bull eye code coverage ...
1
vote
0answers
21 views

Powerful and easy-to-setup mock framework for Java

I have implemented a Java class that performs calls to an interface that I will call "TheInterface". To unit test my program, I need a mock implementation of TheInterface that I can make my class ...
1
vote
0answers
27 views

Useful security key/crypto testing software

Would prefer open source. Open to commercial recommendations if you can explain why there is no other good option. Looking for software that can more or less black box test for strength and ...
1
vote
0answers
106 views

Regression testing tool?

I'm starting a scientific computing, command line project using source code that has no automated testing. The previous developer compared results by hand. Before I make changes, I want to set up some ...
1
vote
0answers
26 views

Is there an IQueryable testing suite?

I need to test various IQueryable providers are working correctly/show where they are limited. Is there an existing library of unit tests for all the different types of queries that can be generated?
1
vote
0answers
22 views

Tool which can be integrated with NUnit to control database transactions

We are using Selenium for UI testing with NUnit and having so much issues with DataBase state handling. However, we now want to do a database clean up, insert some data into x number of tables and ...
1
vote
1answer
70 views

Choosing an open source Continuous Delivery solution for programming education

In my Business Informatics Bachelor thesis I have chosen a topic, in which I have to set up a Continuous Delivery (that must be open source) server which students can use in their programming ...
0
votes
0answers
7 views

Unit test framework/harness where tested function input can come from files

There are a bunch of unit test frameworks for C++; see: C++ unit testing framework A modern-C++-oriented testing framework for C++ code here on the site. However, none of them - to my knowledge - ...
0
votes
0answers
9 views

What are some practical options for keeping small unit tests right in the .js source file?

So I'm looking for tools / processes, or reasons to not have functions and tests in the same source file. "If literate programming didn't yet catch on, that shows the idea is wrong" someone said. But ...
0
votes
0answers
5 views

Looking for software to test self-implemented ADTs

I am looking for a free software to test self-implemented Abstract Data Types. The app / site should be able to test my code on both small and large input data ( my code is written in c++ ). For ...
0
votes
0answers
7 views

Dynamics unit test framework

I'm looking into adding unit test to the Dynamics project I'm working on. FakeXrmEasy looks like a good candidate, but having to manually create the context can be difficult for a complex project, ...
0
votes
0answers
14 views

Tool for recording http requests

I'm looking for a tool that provides http requests recording for Golang web server, so that I will be able to use it in integration tests without a need to run client application each time. I've seen ...
0
votes
0answers
121 views

Compare Swagger Specs in .NET

I need to compare Swagger specifications in a C# unit test. The only reliable tool that I have been able to find is swagger-diff but it is written in Ruby. It fulfills all of my requirements except ...
0
votes
1answer
532 views

Eclipse plugin to generate unit cases automatically for Java code

Is there any tool or Eclipse plugin to generate unit test cases automatically for a particular Java class?