functional-testing Questions
9
I'm working now in my functional tests and in one of them I have to test that a toast message is NOT shown. Considering this is the code I'm using to check if the toast message is shown (this code ...
Beef asked 27/4, 2015 at 12:46
4
I'm running a test called create admin. The test will first create admin, then check if the admin was created successfully.
In the script, I have a part of code where I want to wait for 3 seconds b...
Qualified asked 2/11, 2021 at 6:46
1
I found a great website that discusses functional testing of a Python GUI application using IronPython, but I want to use Tkinter and am having a hard time making the transition between the librari...
Bucksaw asked 26/11, 2013 at 21:21
7
As we know, TDD means "write the test first, and then write the code". And when it comes to unit-testing, this is fine, because you are limited within the "unit".
However when it comes to UI, writ...
Milagro asked 11/1, 2011 at 13:59
3
Solved
I have formulated test cases in Django framework.
Use Case:
I am using API that register user by sending them an Email and when they click on the link provided in the Email their account get acti...
Two asked 12/12, 2012 at 21:26
4
Solved
Taken the question from this article (How to moq a Func) and adapted it as the answer is not correct.
public class FooBar
{
private Func<IFooBarProxy> __fooBarProxyFactory;
public FooBar...
Hersey asked 6/2, 2013 at 12:43
2
Solved
I followed this tutorial (Build DevOps CI/CD pipeline for Python Flask with Azure DevOps).
There is a command line task to execute a functional test which I get an error while running it.
The comma...
Saba asked 6/7, 2020 at 19:5
3
Solved
I would say that all three are the same, but I wonder if there is small differences between them. In the end, what I think is that you are testing user scenarios on all of them.
Deception asked 12/11, 2016 at 16:6
3
This is my symfony project where I am practising functional test and I have such error when I am testing my function.
Here, The section of code in which my error occur:\
<?php
namespace App\...
Cog asked 29/11, 2021 at 9:46
11
Solved
I am doing functional tests for my controllers with Rspec. I have set my default response format in my router to JSON, so every request without a suffix will return JSON.
Now in rspec, i get an er...
Saarinen asked 13/6, 2012 at 20:30
3
Solved
Description
When I'm doing a normal request to my symfony server running on http://localhost:8000/api/admin/login_check it returns the desired jwt token.
However, when I do it with the functional...
Ranit asked 28/1, 2019 at 17:41
1
I am using Spring Data JPA and developed below query which will dynamically take the day values and fetch data, but looks like its arguable looking for Double data type. Any reason why its taking d...
Multicolor asked 13/9, 2021 at 13:59
9
Solved
I'm trying to catch exceptions from a set of tests I'm running on an API I'm developing and I'm using Guzzle to consume the API methods. I've got the tests wrapped in a try/catch block but it is st...
Pullulate asked 15/7, 2013 at 15:44
3
Solved
What is the difference between functional test and end-to-end test?
Techopedia says that end-to-end test is
a methodology used to test whether the flow of
an application is performing as desi...
Wildee asked 13/2, 2018 at 8:40
7
I'm new to Robolectric and instrumentation testing in general on Android.
I followed along the guide for Robolectric for testing my first test.
However I'm getting:
java.lang.IllegalStateExceptio...
Dunstable asked 2/9, 2015 at 7:13
14
Solved
What is the difference between unit tests and functional tests? Can a unit test also test a function?
Gorget asked 30/4, 2010 at 1:42
8
Solved
I'm extending the python 2.7 unittest framework to do some function testing. One of the things I would like to do is to stop all the tests from running inside of a test, and inside of a setUpClass(...
Parthenon asked 27/9, 2010 at 18:31
16
Solved
When I run a single test in Maven with this command:
mvn test -Dtest=InitiateTest
I'm getting the following result:
No tests were executed!
It worked a couple of minutes ago, but now it stopped w...
Emilio asked 10/1, 2011 at 10:52
3
I have been using nightwatch.js and always clicked around elements. Is there a way we can hover over a link or button?
Wheelock asked 5/6, 2015 at 18:21
0
We develop office-js based addin for Excel and we've come to a place where we want to write automated functional tests (preferably with Selenium) for desktop version of Excel on Windows.
First issu...
Jot asked 1/7, 2020 at 10:36
2
Solved
I'm running RSpec tests against a website product that exists in several different markets. Each market has subtly different combinations of features, etc. I would like to be able to write tests su...
Sobranje asked 24/3, 2011 at 6:8
5
Solved
In the Symfony2 documentation it gives the simple example of:
$client->request('POST', '/submit', array('name' => 'Fabien'), array('photo' => '/path/to/photo'));
To simulate a file uplo...
Parris asked 2/8, 2011 at 18:46
6
Solved
I need to open link in new tab using Selenium.
So is it possible to perform ctrl+click on element in Selenium to open it in new tab?
Marlonmarlow asked 5/1, 2015 at 8:27
9
Solved
Would anyone know how to test for the appearance of a Toast message on an Activity?
I'm using code similar to what the OP posted on this question for testing my program flow from one activity to t...
Cupric asked 8/3, 2010 at 21:55
3
I have an commandbus handler, which injects some service:
class SomeHandler
{
private $service;
public function __construct(SomeService $service)
{
$this->service = $service;
}
public t...
Quintuplicate asked 28/5, 2018 at 21:34
1 Next >
© 2022 - 2024 — McMap. All rights reserved.