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.
0
votes
2answers
117 views
Java: making object “fit” with type where base class implements no interface and can't be inherited from
I am using the Twilio library and specifically I'm trying to inject a mock of TwilioRestClient when testing.
It doesn't implement any interface. And I can't add one.
I can't inherit from it, it does ...
0
votes
1answer
20 views
Test to compare array method fails
I am testing my class. My method returns an array of insurance percentage paid and financial limit for the given policy id.
For policy id 43 its financial limit is null and its percentage insurance ...
0
votes
1answer
29 views
C# API POST Request
I'm trying to post to an API using C#.
Here is some documentation on the API: http://docs.gurock.com/testrail-api/accessing
Here is what I have so far:
string url = ...
-4
votes
1answer
46 views
Calling Html-Based API in C#
http://docs.gurock.com/testrail-api/reference-results
I am trying to post a test result to the API mentioned in the link above in C#.
I am not very experienced with API calls. Does anyone have an ...
0
votes
0answers
15 views
Advance time in simulator using Verilog VPI
I would like to code a Verilog task using VPI to bit-bang an interface; however, I cannot figure out how to advance simulation time from the VPI task. I am using Mentor Graphics Questa at the moment ...
0
votes
0answers
5 views
KLinkStatus does not search in depth
I have an issue with KLinkStatus, it does not search for broken links in depth, it just stops after searching the links on a single page. In the search options i have set it to be Unlimited.
Does ...
2
votes
4answers
54 views
How do you efficiently develop/test locally then launch on a production server?
I have a problem on deciding how to effectively develop and test web applications, then launch them on a production server. I am very new to web development, and also developing large projects in ...
0
votes
2answers
43 views
Comparing PHP User input with a mysqli database
I'm creating an online test. I have the form's and everything set out correctly and it send an email to the admin nicely. However I want it to do this:
I need the script to compare the results with ...
3
votes
1answer
48 views
Testing C++ code: Using test libraries
I've been studying C++ for a while, but this is the first time I'm into a C++ project (a pet configuration parser library). I'm using the Google C++ Testing Framework to test this. But I don't know if ...
0
votes
1answer
18 views
Serial Testbenching and assertions with System-Verilog
I have a serial output of a verilog module I'd like to testbench using system-verilog.
The output, called 'SO' will output something like 8'hC6 given the correct serial input 'SI' with a value of ...
0
votes
1answer
19 views
How do I get all records associated with a record in an aggregate root table
For testing purposes, I would like to generate an insert script for all records in all tables associated with a particular record in one of the root tables. For example, I might have a "Participant" ...
1
vote
1answer
18 views
Running maven test with a class name - How does Maven find the class?
I have a project and this project has test files under /src/test/.
There are a lot of sub-folders under test. Package structure. And there are several test classes.
But I was told to run mvn test ...
0
votes
0answers
15 views
How to set jenkins to regression or improvement
I noticed that Jenkins has the e-mail triggers "regression" and "improvement".
I am using a custom test-framework that generates a text-file containing the failed tests, it is just plain executed as ...
0
votes
1answer
33 views
Waiting for a chart to refresh, selenium Java
I'm trying to find an appropriate ExpectedConditions method for this situation. I have a chart and I want to check the text in each row after re-sorting the chart. Problem is, when the chart is ...
0
votes
1answer
29 views
Best way to practice Selenium
I am trying to improve my skills in Selenium, but I don't want to spend time creating my own sites to test and automating using a normal website I suspect will only cover part of the functionality of ...
0
votes
0answers
6 views
Is it possible to test Portlet Controllers using Springs MockMvc?
You can test your "normal" Spring MVC Controllers using the MockMvc class like so:
mockMvc
.perform(get("/my/fine/path"))
.andExpect(status().isOk());
From the Spring Reference ...
0
votes
0answers
27 views
node.js/karma/end-to-end testing: failed to proxy /app/index.html (Error: connect ECONNREFUSED)
The following are messages I'm getting while trying to run end-to-end test from AngularJS tutorial http://docs.angularjs.org/tutorial/step_05 on MS Windows 8 Professional. Could you please advise how ...
0
votes
2answers
28 views
Global object onStart fails all my tests
I had a number of tests, it ran perfectly, untill I write Global object:
@Override
public void onStart(Application app) {
Mails.plugin = app.plugin(MailerPlugin.class).email();
...
3
votes
1answer
33 views
Boost test does not init_unit_test_suite
I run this piece of code
#define BOOST_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#include <boost/test/unit_test_log.hpp>
#include ...
-1
votes
0answers
26 views
how to test a form using phpunit?
A php code is written below to take feedback from users:
<?php
#ini_set("display_errors",1);
#error_reporting(E_ALL);
require_once('includes/config.php');
$sErrorMsg="";
if($_POST){
//echo ...
0
votes
0answers
11 views
Create a testing server with virtualization including windows, linux, iOS and Android
I am looking to build a server that can handle our internal dev's testing requirements.
My idea is that a local developer logs into the machine via VNC or similar and depending on which IP address ...
0
votes
2answers
58 views
Re-read an open file Python
I have a script that reads a file and then completes tests based on that file however I am running into a problem because the file reloads after one hour and I cannot get the script to re-read the ...
0
votes
1answer
23 views
Software Testing at the Earlier Stages of Development Cycle
I am trying to do a general research on software testing and writing an internal paper for my company. The purpose is to identify how the testing and verification stages can be reformed so that it ...
0
votes
1answer
32 views
Unit Testing ISAPI (Delphi and TWebRequests)
I have created an ISAPI project in Delphi, based off TWebModule.
I would like to unit test the actions that are handled, using the Delphi TestFramework.
The input is a TWebRequest and TWebResponse. ...
0
votes
0answers
11 views
How to rerun failed selenium-rc test script?
I have written a selenium RC test script in PHP. There are some conditions when my script get ends if element not found on the page. So, my question is can we re-run that scripts if it gets failed?
0
votes
0answers
11 views
Using DBFit variables for other Fixtures
Is it possible to use a DbFit variable in another fixture? For example, if I create a query in dbfit with a variable <<firstname as follows:
SELECT * FROM System.Columns Where ColumnName= ...
1
vote
2answers
52 views
How to specify a test case that does not have an input
For example: I want to make a case test of the "Logout" function.. What can I put in the "input"? The click in the Logout button?, because the method does not receive any parameter.. The expected ...
0
votes
1answer
22 views
Screen recording while testing
I am searching for a light weight screen recording tool I can use to record automated test runs in the background.
I have a detailed logging for my automated GUI application tests running on Windows ...
1
vote
1answer
13 views
HTTP response generator webservice
There are many ways to test HTTP requests, like Postman or Advanced REST Client for Chrome. The opposite, to test responses for request is not readily available.
Is there a webservice that allows one ...
0
votes
0answers
27 views
iAds not populating on specific device
I have the iAd test working on my iPhone 5 (ios 6.0), my wife's iPhone 5 (ios 6.1), the 5.1 simulator, the 6.1 simulator, but NOT my 3GS (ios 5.1.1). All I get is the initial loading of the frame for ...