testing Questions

6

Solved

I am trying to use pythons selenium for Microsoft edge but I keep getting this error: WebDriverException: Message: unknown error: cannot find Microsoft Edge binary I downloaded the latest version...

2

Can I rely on Snowflake's lazy evaluation for testing and exception throwing? Are CTEs lazily evaluated? Is this documented? (related question: Assertions in Snowflake)

3

I'm a newbie on test driven development, and I came across a section regarding testing/mocking a fetch api. But I'm struggling to write my own test. I built a simple weather app just to test/mock t...
Pressing asked 4/9, 2022 at 5:45

5

I'm using plugin google_maps_flutter 1.2.0, and i want to instanciate a GoogleMapController for testing some bloc's event, where the controller's value can't be null. Unfortunalty, i don't know how...
Amalamalbena asked 22/2, 2021 at 0:2

3

Solved

When I added my custom task I started getting some errors and I'm not sure how to solve it. I was following the example from RWA: https://github.com/cypress-io/cypress-realworld-app/blob/develop/cy...
Intercostal asked 28/10, 2020 at 2:11

1

In web I usually use PerfectPixel chrome extension. It allows just cover page with uploaded design, inverse colors, etc. Any possible ways to test design in React Native?
Handwork asked 16/11, 2016 at 19:48

7

I am new to testing and I was trying to use vitest for testing my mern social media app. looking for references to test a react component using vitest i found this article https://eternaldev.com/bl...
Forklift asked 7/8, 2023 at 18:6

2

I'm trying to run an integration test which is highly dependent on the user clicking a magic link he got in his email. So far I failed to find a way of doing that. I came across Process.run but it ...
Him asked 16/3, 2022 at 9:41

3

Im trying to get E2E/UI testing (selenium, playwright) to work with my unit testing framework. The basic idea it to use MSTest and the WebApplicationFactory to spin up a "real server" fro...
Guild asked 19/3, 2022 at 19:55

3

I'm currently trying to follow the guides from CumulusCi and I'm having some trouble installing pipx inside my computer. I already have installed Python 3 and I'm currently running the following co...
Goer asked 26/3, 2021 at 18:39

8

Solved

I'm running cypress tests headlessly and would like the console output to be a little more readable. Currently, I get a very messy output as seen below. According to the documentation it should be ...
Retardant asked 6/2, 2018 at 2:51

13

Solved

Error : No tests found to run - while debugging/running C# Unit test cases -- Visual studio 2017 15.5.1 not discovering test cases. Framework Microsoft.NET framework 4.6.1 Added Test adapters as ...
Abscise asked 3/4, 2018 at 9:55

8

When there are a number of people working on a project, all of who could alter the database schema, what's the simplest way to unit test / test / verify it? The main suggestion we've had so far is ...
Weathering asked 13/1, 2009 at 17:8

4

Solved

I'm looking to generate some database test data, specifically table columns containing people's names. In order to get a good indication of how well indexing works with regard to name based searche...
Leuco asked 13/6, 2011 at 14:55

2

Solved

I am implementing a small demo application which encrypts using AES CTR with OpenSSL is it possible to test the algorithm using different modes of operation test vectors for example testing the ECB...
Footy asked 6/7, 2010 at 16:57

2

Solved

I'm working on an application with 731 tests, and if 6 fail, I have to scroll through 731 lines to try and spot each failure so I can fix the problems. Is there a way for minitest to print all the ...
Carbamidine asked 21/8, 2020 at 5:46

2

Solved

I am trying to verify in a test that a static method is called. I am using Mockito for this purpose. This question is similar to this. However, the solution suggested in the most upvoted reply is n...
Freaky asked 24/8, 2021 at 7:19

7

How do I debug my tests? For example, I POST to create an entry and expect it to validate and return a particular page. It works in the browser and in the shell, but the test is the only thing that...
Pickerel asked 19/10, 2012 at 20:29

2

Solved

Using mocha to do node.js unit tests I get e.g. this output: Suite One: call Home Page √ should return correct result (65ms) call Login Page √ should return empty load do Login √ should retu...
Danilodanio asked 12/8, 2015 at 20:51

3

Solved

I'm setting up the tests for my web application, which works with the Vue framework with TypeScript, using the Jest framework. Everything seems to work alright, except with the @ symbol in my impor...
Helvellyn asked 2/7, 2020 at 8:18

9

Solved

I'm getting an error when trying to run my test file (I'm using react typescript) ● Test suite failed to run Jest encountered an unexpected token Jest failed to parse a file. This happens e.g....
Quartet asked 25/5, 2022 at 18:2

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

3

Solved

My gateway will redirect traffic to many different services (under different domain names). how can i test the gateway's configuration? with only one service i can just setup the mock server (like ...
Harumscarum asked 20/1, 2020 at 14:51

5

Solved

With Espresso I try to test sending an Activity to background, with the Home button and then getting it up in the foreground again to make some checks: @EspressoTest public void test() { onSomeV...
Depolarize asked 25/4, 2014 at 12:33

9

Solved

I have been trying to get the code coverage for my project using Xcode 9. All test cases run successfully but did not generate the code coverage report under the Code coverage tab. I tried the foll...
Corrinacorrine asked 7/11, 2017 at 11:41

© 2022 - 2024 — McMap. All rights reserved.