Unit testing is a method by which individual units of source code are tested to determine if they are fit for use. A unit is the smallest testable part of an application.

learn more… | top users | synonyms

1
vote
1answer
46 views

Is there any framework for UI automation testing for Unity3D?

Does anyone know any framework that is compatible/integrated with Unity3D? I'm interested in Unit, Integrated and UI testing.
1
vote
2answers
61 views

Run impacted tests right after code change

I have partial memory recollection of product for .NET and Visual Studio that runs impacted unit tests right after you change one line or something like that. It has some smart code impact detection ...
1
vote
1answer
447 views

How to use databases within the python unittest framework?

I have a bunch of unittests written in python in which messages (text) of any kind is used. Instead of 'hardcoding' the text examples used for the tests I would like to use a database of some kind ...
1
vote
1answer
130 views

Unittesting GUI. MVC model. When to move data to controller

I've been reading different opinions about how to unittest GUI in Java and it is clear that the best approach is to design the code in a MVC model, in order to be able to test everything. Anyway I ...
1
vote
1answer
134 views

Tools similar to Google Test for C++ unit testing?

Are there any tools similar to GoogleTest for the purpose of functional testing in C++. I plan to do them as part of Unit Testing and would like to know of other options available so that I can make ...
1
vote
1answer
288 views

Pretty / GUI formatting for the nosetests.xml xUnit report?

Is there a simple tool that will generate pie charts or otherwise "pretty", graphical output based on the .xml file that nose outputs with the --with-xunit switch? I tried googling around for one but ...
1
vote
2answers
183 views

Selenium Selenium.Core v1.1.4322 - XPath not working

I've got the following XPath expression's working in firebug, that returns the correct element(s): $x("(//input[@class='intervalInput timeInput'])") returns two elements. ...
0
votes
3answers
567 views

How can I do data parameterization in Selenium Web Driver?

I want my test case to run once and test n number of inputs at various positions. Suppose If I want to check a login screen for different members like manager,user,admin,e.t.c then instead of running ...
0
votes
2answers
37 views

How should I be unit testing the search process of a web app

A lot of the examples for unit testing that I see involve testing that numbers add up. For example, Derek Greer demonstrates unit testing a calculator app, making sure that the equals function does ...
0
votes
1answer
51 views

Mutation-testing generation [closed]

I' giving a presentation about this paper: https://www.st.cs.uni-saarland.de/publications/files/fraser-tse-2011.pdf Unfortunately I don't understand 2 things: On page 9 table 1: Where are these ...
0
votes
1answer
122 views

CSS/XPATH selector management using python's dictionary

I have a lot of functional tests in Python. As expected , they use a wide variety of css/xpath selectors . I think I read somewhere that a practice is to have a dictionary where each selector would ...
0
votes
1answer
112 views

question if this job should be a red flag or not [closed]

I have only talked to the recruiter so far and he seems legit, but recruiters always try to make a job sound fluffy. I literally only applied because im going to be on unemployment and I know I have ...
0
votes
2answers
140 views

How to automatically break Unit Tests when their related Requirements change (before any code change)

The shop I work for has recently switched to Agile/Scrum software development. We've started logging User Stories, and defining their scope with Acceptance Criteria. So, we have Features defined ...
0
votes
1answer
158 views

How to check that some string contains a substring in the unit test code?

Dear Developers and QA, I would like to ask a very simple question, but it is very important for me. Please, consider the following test: When I enter the search phrase “Hello World” into the ...
0
votes
1answer
31 views

Testing strategies for testing a Scheduler

We have developed an in-house Scheduler which is based on Rate-monotonic scheduling. We have 6 tasks (5 actual tasks and 1 idle task). Our scheduler works on 1msec timer interrupt. Before sending it ...
0
votes
1answer
31 views

Are there any unit test frameworks for Java that have a checkbox style UI?

Are there any unit test frameworks for Java that have a checkbox style UI? I am really looking for an answer that is a web UI sort of thing (such as a jenkins plugin) but a satisfactory answer would ...
0
votes
1answer
44 views

Decoupling Unit Tests

I'm trying to learn how to write unit tests the 'proper' way and only test a specific component. (Using http://blog.stevensanderson.com/2009/08/24/writing-great-unit-tests-best-and-worst-practises/ ...
0
votes
1answer
61 views

Android / Java Unit-Testing Clarification

While looking up for unit testing for Android applications, I came across a lot of voices over how it is difficult to test-unit an Android app. For example: Dependency issue - why is this a problem ...
0
votes
0answers
166 views

Cucumber, Rspec, Test-Unit & mini-test Pro Con for interfacing with rake and Selenium Webdriver

I'm in the market for a new test framework. I currently test-unit but I seems like there is some incompatibility between Test-unit , Selenium-webdriver, and modern versions of Firefox. I have had to ...
-3
votes
3answers
327 views

Tester Versus Test cases written by the tester [closed]

I have always believed that a great tester is one whose test cases help in discovery of a lot of bugs in the product and not one who finds a lot of bugs in a product. In otherwords a team or a ...