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.

test process.env with Jest

I have an app that depends on environmental variables like: const APP_PORT = process.env.APP_PORT || 8080; and I would …

node.js testing environment-variables jestjs
Trying to mock datetime.date.today(), but not working

Can anyone tell me why this isn't working? >>> import mock >>> @mock.patch('datetime.date.…

python testing datetime mocking
Before and After Suite execution hook in jUnit 4.x

I'm trying to preform setup and teardown for a set of integration tests, using jUnit 4.4 to execute the tests. The …

java testing junit integration-testing
How can selenium web driver get to know when the new window has opened and then resume its execution

I am facing an issue in automating a web application using selenium web driver. The webpage has a button which …

testing selenium window webdriver
how to use jacoco.exec report

I generated a code coverage report from jacoco, which is jacoco.exec. But I don't know how to use it ... …

testing code-coverage jacoco
What is the best testing framework to use with Node.js?

I have looked at the rather long list of testing frameworks at https://github.com/ry/node/wiki/modules#testing. …

testing frameworks node.js
How to loop tests in Selenium IDE?

I've been testing in Selenium IDE. It's pretty easy to use, and I have created some test cases with it. …

testing selenium-ide
Testing for errors thrown in Mocha

I'm hoping to find some help with this problem. I'm trying to write tests for an application I am writing. …

javascript testing mocha chai
How to test a site "from" another country?

I just had a call from norway saying that there is a weird domain redirect that ends up in a 404 …

testing proxy ip country
How to run Rails console in the test environment and load test_helper.rb?

The background: I'm having some problems with Thoughtbot's "Factory Girl" gem, with is used to create objects to use in …

ruby-on-rails ruby testing shoulda