Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
14 views

Library that lets you write tests in almost English like manner

I have a vague memory of a C# library being used some 10 years ago or so at a previous job. You would write almost English like sentences and it would pick up on key words and do something behind the ...
user87312's user avatar
2 votes
1 answer
1k views

Is There a unit test viewer for JUnit test results?

The workflow I use has unit tests, but the results are normally written to the Visual Studio Error log (slowly). The framework I'm using is TcUnit, for PLC's. However, there's also a result file ...
bulkje's user avatar
  • 21
0 votes
1 answer
54 views

Can anyone please recommend a test framework for XSLT?

I've been using XSLT 2.0 for about 8 years now, mostly for transforming DITA into a pile of different formats. My stylesheets are getting pretty sophisticated, and my templates pretty complex at this ...
Andrew Mark's user avatar
1 vote
1 answer
1k views

Golang lib to mock mysql database in-memory

Does someone know's a lib like this one or similar, but more updated? https://github.com/proullon/ramsql I need a lib to mock a Mysql table so i can implement on my automated tests. This lib would fit ...
Arthur's user avatar
  • 11
1 vote
1 answer
99 views

What is an example of a modern build and CD pipeline for C++?

Software Engineering common practices change over time. What is an example (Linux-based) stack of a modern build & release pipeline for C++ with continuous integration and delivery. As of 2022, ...
Sohail Si's user avatar
  • 121
1 vote
0 answers
10 views

Java testing framework for testing new shim gives same results as old api?

I'm working to take an old no longer supported, but still heavily used throughout my company, library and create a replacement shim that passes all the real work down to a different library that is ...
dsollen's user avatar
  • 397
1 vote
0 answers
526 views

Tool to analyze JUnit/xUnit test results over long periods of time

Currently I am using the Jenkins JUnit plugin to generate nice graphs/trends for build results. My project doesn't natively produce a JUnit xml file so I manually create one, and the plugin works ...
theswordsmahin's user avatar
1 vote
0 answers
36 views

RestAssured alternative for Java that allows for customization of TLS version?

Currently RestAssured doesn't have a way to force a TLS version when making a request without using a deprecated library (SslSocketFactory), are there any other REST API testing frameworks that could ...
JohnM's user avatar
  • 11
2 votes
2 answers
38 views

Software testing/coverage tool that randomly modifies your code to ensure the tests work

This definitely already exists and is open source, I just forgot the name: It was a software testing tool (probably for Python but could've been for another language) that introduced random ...
smheidrich's user avatar
0 votes
0 answers
272 views

Log File Comparison in Python

Are there any tools/modules/libraries in python that allow for file comparison? It should allow for regular expressions that can ignore items that shouldn't be compared such as log timestamps, file/...
LeanMan's user avatar
  • 111
1 vote
1 answer
69 views

Python Script Testing for Teachers

Does anyone know a good tool by which programming tests can be automated? I'm about to start teaching Python via Google Classrooms and want to setup some homework/tests students can complete, send, ...
Sebastian's user avatar
1 vote
0 answers
15 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, ...
Sebastien Diot's user avatar
1 vote
0 answers
11 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 ...
Brandon Hill's user avatar
1 vote
1 answer
29 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.
Rasika Purohit's user avatar
1 vote
1 answer
16 views

Unit-Test Generator

I have been requested to write a huge amount of tests on a C# project in .net 4.7.2. Doing in manually is taking me too much time and I find it really repetitive and monotonic. I am wandering if there ...
David Bu's user avatar
0 votes
0 answers
22 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 ...
tomekn's user avatar
  • 1
1 vote
0 answers
18 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 ...
RSG's user avatar
  • 11
1 vote
0 answers
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 ...
user50478's user avatar
1 vote
0 answers
167 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 ...
tim-kt's user avatar
  • 111
1 vote
0 answers
27 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 ...
Kenji Yonekawa's user avatar
3 votes
2 answers
1k views

Python unittest gui (output through GUI)

Python's unittest framework is command line based. Instead of console output, I'd like to have GUI output. Specific task, that should be accomplishable: start all tests per button start single test ...
DarkTrick's user avatar
  • 186
3 votes
1 answer
30 views

Running unit tests automatically

In software development, we have code + unit tests. Sometimes I forget to the run unit tests, or maybe I'm too lazy to run them. I'm looking for a tool that runs unit tests automatically when I have ...
Thomas Weller's user avatar
1 vote
0 answers
49 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.
leeand00's user avatar
  • 435
-1 votes
1 answer
29 views

What tool could friendly report unit tests according to a json or other output?

I'm using coverlet and .Net Core to develop an API, I started to make unit tests (the only tool I've found for .Net Core was coverlet). I got the coverage, but I only can get files like json, xml etc....
Felipe Augusto's user avatar
2 votes
0 answers
348 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 ...
Mawg's user avatar
  • 9,033
2 votes
1 answer
53 views

Automated suggestion tool

After a long road with Randoop.NET as a unit test suggestion tool, my developing team has decided to upgrade to a commercial tool which will provide us a full unit testing framework for professional ...
Ilan Greenberg's user avatar
2 votes
2 answers
150 views

Mocking frameworks for C/C++ on Linux

My team and I are looking for a mocking framework for C and C++ on Linux. We have a huge codebase that we want to test, so the most important thing for us is having a mocking framework that will allow ...
HilaB's user avatar
  • 68
3 votes
1 answer
310 views

What mocking framework do you suggest for C++ on a linux platform?

The company I work for recently added Linux to our work environment and we need a good unit testing framework for c++. We tried Gmock from google but it's not so user-friendly. I have done a little ...
Ilan Greenberg's user avatar
1 vote
1 answer
43 views

Is there a code coverage tool for Python 2.4?

My project is limited to python 2.4 due to, unfortunately, an essential third party library. I have a number of tests written using the unittest module. I would like to track test coverage. Is there a ...
pls's user avatar
  • 13
2 votes
0 answers
17 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, (...
Victor Grazi's user avatar
1 vote
1 answer
16 views

Test framework for web views that depend on JS rendering?

I wonder if there is a good javascript test framework that I can use, similar to Selenium, to test my web views. I have a back-end which is done with bottle, mako and python and javascript with jquery ...
Niklas Rosencrantz's user avatar
2 votes
1 answer
45 views

Hosted Python code coverage which is cost-free for FOSS projects?

Context I'm developing an application in Python with PyQt and for the testing I'm using the unittest Python module together with QtTest The project is FOSS and is hosted on Github. I'm using ...
sunyata's user avatar
  • 341
1 vote
0 answers
52 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 ...
WallPoster's user avatar
0 votes
0 answers
388 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 ...
David Pilkington's user avatar
4 votes
3 answers
202 views

Website testing / browser automation tools

I'm looking for a tool, that will automatically performs specified actions such as clicking on links, filling and submitting forms, and so on. I mean I write some kind of script with instructions and ...
TheWebTester's user avatar
2 votes
1 answer
45 views

Find out which unit test fails in dependency of another one

We have ~22.000 unit tests. Now, two of them fail when run together with other tests. They pass when run alone. I am now looking for an automated analysis to narrow down the tests to reproduce the ...
Thomas Weller's user avatar
1 vote
1 answer
76 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 ...
Bruder Lustig's user avatar
0 votes
1 answer
1k 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?
Dev's user avatar
  • 123
1 vote
0 answers
23 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 ...
Nicolas Raoul's user avatar
  • 19.5k
5 votes
2 answers
831 views

C99 unit testing framework compatible with Visual Studio 2015+

Is there a unit testing framework for "plain C", which can easily be integrated with the Visual Studio Test Explorer? Since I would like to introduce unit testing to our firmware/embedded ...
vgru's user avatar
  • 172
1 vote
0 answers
28 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 ...
tniles's user avatar
  • 111
2 votes
2 answers
86 views

Test automation tool for an Android app

Android monkey tool is great! With one line of script, it launch your app and perform automation tests: adb shell monkey -p my.greate.package + -c android.intent.category.LAUNCHER -s 123 --pct-touch ...
Ilya Gazman's user avatar
4 votes
2 answers
483 views

Tools for measuring test coverage of VDHL code

I need to measure the code coverage of VHDL code. Especially the following metrics are interesting: Statement coverage Branch coverage MC/DC coverage Toggle coverage The only tool (of which I am ...
orbitcowboy's user avatar
3 votes
2 answers
288 views

Creating a C++ Project to match an existing DLL interface

I have a DLL that exposes a number of functions and I'd like to make a duplicate DLL with the same name that exposes the exact same functions but with my own implementation of each function. In this ...
Ben's user avatar
  • 31
10 votes
2 answers
3k views

C++ unit testing framework [closed]

I would like to hear what is a recommended C++ unit testing framework or, in case there is not a single one, what is a generally accepted flowchart that can lead me while picking one.
user7610's user avatar
  • 300
1 vote
0 answers
145 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 ...
amos's user avatar
  • 111
2 votes
0 answers
147 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++ ? ...
Mawg's user avatar
  • 9,033
1 vote
1 answer
179 views

C++, C++/CLI,C#, WPF TDD, mocking

I'm new to TDD and BDD, My system flow is as following. WPF/C# MVVM layer with a button (don't really have only one) to open an image and run the image in an image processing pipeline. C++/CLI layer ...
Gilad's user avatar
  • 143
2 votes
1 answer
73 views

Any tools to validate your code?

I'm working on a large, not-so-old codebase with ton of unit test. The code coverage is somewhat great, but I've noticed that there are many tests with no assert at all. Code changed and some tests' ...
Kraz's user avatar
  • 121
2 votes
1 answer
476 views

Continuous Testing Tool for IntelliJ 14

I'm using IntelliJ 14 and looking for a plugin / tool that will automatically run tests as and when they're updated. I've looking into both Fireworks and Infiniti, neither of which seem to work with ...
null's user avatar
  • 123