acceptance-testing Questions

4

I am trying to figure out how to connect to multiple databases using Codeception. I have even tried directly instantiating a new PDO instance but then the codept run command just ends prematurely w...
Weary asked 28/5, 2015 at 18:59

4

Solved

We're using Unity as our dependency injection framework. I want to create an acceptance test and need an instance of DossierService. Unfortunately I get the following exception: BoDi.ObjectCont...
Richelieu asked 22/9, 2017 at 6:22

4

I want to have the following test step class structure: [Binding] public class BaseStep { [Given(@"there is a customer")] public void GivenThereIsACustomer(Table table) { HandleCustomer(table)...
Evite asked 21/8, 2014 at 18:2

4

Solved

We've come to a point where we've realised that there are two options for specifying test data when defining a typical CRUD scenario: Option 1: Describe the data to use, and let the implementation...
Eyelash asked 12/1, 2011 at 17:11

3

Solved

I just starting to work with SpecFlow and really like the tool. However I am running across some issues in relation to example data inputs into the Scenario Outlines. Just wondering if what I am f...
Soave asked 19/8, 2014 at 16:25

4

Solved

Of cause I can use selenium-standalone with xpath to test an app. But testing SPA could be challenging sometime. But, for example angularjs's team provides protractor for this purpose. The reaso...
Janettjanetta asked 18/4, 2016 at 3:24

2

Solved

I'm trying to sift through the myriad of test solutions out there, and I'm not even sure if I'm headed the right direction. The story is: we're running a RESTful Web service, implemented as a Rails...

5

Solved

I know how to send click events with nightwatch: browser.click('#my-control'); But I have been unable to find a way to send key events. How is this done in nightwatch?

2

Solved

I'm attempting to automate a roundtrip install and uninstall of a set of MSI files (generated by WiX) from a pack of sample programs. For some reason, a .MSI file that's perfectly happy to install ...
Ditter asked 11/4, 2012 at 14:55

6

I'm trying to fill a rich text editor field (TinyMCE) within my acceptance test in Codeception. Using the fillField() function doesn't work as this 'field' isn't really an input field. It's an if...

3

If I have Microservice, which should create User but since user creation is complex it uses queue, and user is actually created by the consumer the endpoint only takes request and returns ok or fai...
Kostman asked 13/9, 2018 at 17:17

2

With the release of Rails 5.1, they included system tests. Which means we can test our JavaScript too in Rails. I see Rails guide explains a sample test creating article in both ways: via system te...

2

I am using nightwatch and trying to iterate through a list of elements. However, when I don't get objects or elements, but I get an array of strings. CODE browser.elements("css selector", ele, fu...
Yusuk asked 26/5, 2015 at 21:55

1

Solved

I'm new to sonar and jacoco and I wasn't able to find an ansewer to following question We are going to use sonar and jacoco to analyze our test coverage. We are going to have three kind of test: ...
Pyrometallurgy asked 17/1, 2018 at 11:33

1

I am currently attempting an acceptance test on a nested route, which makes use of the same component twice, but with different arguments. This works fine when I run it normally, however as I run t...
Sonyasoo asked 14/8, 2017 at 20:1

8

Solved

I know I'm probably in a small minority, but I have to use my machine at the same time my tests are running. The thing that always gets in my way is that the browser window is always stealing focus...
Mechanician asked 11/4, 2011 at 18:56

5

Solved

Are you for one or the other? Or both? My understanding is unit tests: validate the system from the developer's point of view help developers practice TDD keep code modular assist in detecting e...
Understudy asked 9/11, 2010 at 21:57

2

Solved

I think I thoroughly understand the concepts and ideas behind SpecFlow, but even after reading the Secret Ninja Cucumber Scrolls, The Cucumber Book, and going through the various forums I'm still u...
Simple asked 10/7, 2012 at 16:48

3

I've got an set of acceptance tests that run nightly. I'd like to use valgrind to check for memory leaks in my code automatically as an additional safe-guard to manually checking for leaks. Updatin...
Dolhenty asked 24/6, 2010 at 22:27

7

Solved

Ruby has this great abstraction layer on top of Selenium called Capybara, which you can use do functional/acceptance/integration testing. It also has another library called Cucumber which takes thi...
Tiliaceous asked 28/2, 2012 at 16:40

2

Solved

I'm making my first acceptance test with Codeception. When I run my test with wait() or waitForElement(), I get this message: [RuntimeException] Call to undefined method AcceptanceTester::wait ...
Ellinger asked 18/3, 2016 at 20:27

1

I'm looking into a new project that we are planning on doing API first, so that we can then implement web- and native- apps on top of, plus allow for third party integration. All fairly standard so...
Viscountcy asked 27/8, 2016 at 10:19

11

Solved

What is the real difference between acceptance tests and functional tests? What are the highlights or aims of each? Everywhere I read they are ambiguously similar.
Absent asked 30/7, 2010 at 9:46

2

I'm trying to carry out a simple acceptance test for learning purpose. It's a simple authentication scenario : user enters /admin, If not logged it, He gets redirected to /login to fill the form. ...
Lilithe asked 16/9, 2013 at 17:11

3

Does anyone have an idea how to mock $httpBackend in angular e2e tests? The idea is stubbing XHR requests while running tests on travis-ci. I'm using karma to proxy assets and partials from my rail...

© 2022 - 2024 — McMap. All rights reserved.