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
0answers
8 views
How do I mock $location.host() in angularjs tests?
I have created an Env service which wraps up environment information, and I'm currently using $location.host() to determine what environment I'm in. How do I mock that in my tests?
I've read ...
0
votes
0answers
13 views
TestUnit outdated with Rails 4?
I read that TestUnit was replaced in Ruby 1.9.3 itself with Minitest and that Rails 4 is using MiniTest.
Should i move all my testUnit-Tests to Testmini or is this not necessary?
0
votes
0answers
10 views
Testing javascript application with capybara
I'm currently using capybara with rspec to test a ruby application, I now want to extend this test suite to also test javascript pages.
My current project structure is like so:
Project
lib
...
0
votes
0answers
11 views
How to fix “TypeError: httpBackend.when is not a function in …https://waybackassets.bk21.net/test/unit/unittest.js”?
I am having a problem setting up a mock httpBackend. I have looked through the API multiple times and I have setup my code following the same procedure. The unit test that I am trying to run is below:
...
-1
votes
0answers
11 views
Testing in android studio [closed]
After switching to android studio, I have been executing the tests in command line with gradle and I am not happy with the way it tells how did the test performed.
When running the following ...
0
votes
0answers
24 views
BindingResult doesn't work - Spring Test
I have my controller:
@RequestMapping(value = "/addtimesheet", method = RequestMethod.POST)
public String addTimeSheet(@ModelAttribute("timesheet")TimeSheet timeSheet,
...
0
votes
1answer
13 views
Unit testing NServiceBus handler's handling of reply to its send
I have a handler which, when it handles some event, sends a request and, depending on the reply, might publish an alert. I'm trying to test this using the NServiceBus Testing framework, but can't ...
0
votes
0answers
15 views
Testing xml transformation
I have a certain Tool, written in c, which transforms the wikipedia xml dumps into a text file seperated by a tab.
How can I test if this tool works properly and that the output is correct? I am ...
0
votes
0answers
8 views
Rspec controller test hanging
Here is my controller test ("spec/controllers/api/tasks_controller_spec.rb")
require 'spec_helper'
describe Api::TasksController do
before :each do
@quadros = create :cat
@task = ...
5
votes
1answer
38 views
test input/output of Visual Studio 2012 console application
I am working on a program which reads some input from standard-in, processes it, and writes some output to standard out. So that I don't have to type in sample/test input every time, I have saved the ...
1
vote
0answers
13 views
Can Protractor and Karma be used together?
If Protractor is replacing Angular Scenario Runner for E2E testing, does that mean I will still be able to use it with Karma as my E2E testing framework ?
-1
votes
2answers
29 views
Is it necessary to test third party tools? [closed]
I have a question about best practices for writing test cases. At my job, I am using a closed source, third party tool that parses files into a database. Since this is a third party tool, is it ...
1
vote
0answers
10 views
iOS Usability Testing Tools [closed]
I've already come across several usability testing tools tailored for use on iOS.
The tools I have already discovered are limited in flexibility and basically provide touch tracking, screen ...
0
votes
0answers
24 views
Rake test doesn't work
When I type
rake test
it doesn't do anything.
I have to test all files one by one by typing for example:
ruby -Itest test/models/post_test.rb
I created application with -T flag so it ...
-1
votes
1answer
14 views
Robot Framework - Case sensitive [closed]
I need to know if there is a workaround on this error:
"Location should have been 'http://www.google.pt' but was 'http://WwW.GooGLe.Pt'
The "Location Should Be/Location Should Contain" keywords (and ...