Top "Testing" questions

Software testing is any activity aimed at evaluating an attribute or capability of a program or system and determining that it meets its required results.

Writing unit tests in Python: How do I start?

I completed my first proper project in Python and now my task is to write tests for it. Since this …

python unit-testing testing
Exact time measurement for performance testing

What is the most exact way of seeing how long something, for example a method call, took in code? The …

c# .net performance testing
How do I run all Python unit tests in a directory?

I have a directory that contains my Python unit tests. Each unit test module is of the form test_*.py. …

python unit-testing testing python-unittest
What's the difference between unit, functional, acceptance, and integration tests?

What is the difference between unit, functional, acceptance, and integration testing (and any other types of tests that I failed …

testing terminology definition
How do I get my Maven Integration tests to run

I have a maven2 multi-module project and in each of my child modules I have JUnit tests that are named …

java maven-2 testing surefire
How do you run a single test/spec file in RSpec?

I want to be able to run a single spec file's tests — for the one file I'm editing, for example. …

ruby testing rspec
How do I assert my exception message with JUnit Test annotation?

I have written a few JUnit tests with @Test annotation. If my test method throws a checked exception and if …

java testing annotations junit4 assertion
Stopping an Android app from console

Is it possible to stop an Android app from the console? Something like: adb stop com.my.app.package It …

android testing adb
How to write a test which expects an Error to be thrown in Jasmine?

I'm trying to write a test for the Jasmine Test Framework which expects an error. At the moment I'm using …

javascript testing node.js jasmine
How can I time a code segment for testing performance with Pythons timeit?

I've a python script which works just as it should, but I need to write the execution time. I've googled …

python testing timeit database-tuning