Questions tagged as 'testes'

0
answers

Promise test of co-routine in NodeJS with mocha and sinnon

I need help with the help of your application, I'm trying to test a function that returns a promise.coroutine and I'm not getting it anyway ... const addClientUpdateTodo = (cliente) => { let responseClient, responseTodo return new (Prom...
asked by 19.09.2018 / 20:04
1
answer

Gmock compilation error

Good evening, I'm practicing test in c ++ used the gtest / gmock google test library. Everything works fine with gtest, but I can not compile it at all when I try to use gmock. To make sure it's not my problem code, I've decided to copy a sample...
asked by 04.09.2018 / 02:20
0
answers

SImples Karma test returns unsuccessful with localStorage on controller

Good afternoon, I am trying to run a simple test with test runner Karma . I'm using AngularJS for this little test. Controller ( test.controller.js ): class TestController{ constructor($scope, $window, $localStorage){ 'ngInjec...
asked by 17.08.2018 / 17:41
0
answers

Error on running Grails Unit Test - version 3.3.5

No GORM implementations configured. Ensure GORM has been initialized correctly. Code above: package br.com .promotion.selection.service import grails.testing.services.ServiceUnitTest import spock.lang.Specification import br.com .com...
asked by 01.08.2018 / 19:49
1
answer

Perform tests based on component lifecycle

I need to run the tests following the lifecycle of the Angular. I could not identify any tool or way to do this. Basically it would call the tests based on lifecycle. Here's a simple example: my-component.ts : import { Component } fro...
asked by 08.08.2018 / 20:08
0
answers

Is there any kind of hook in Karma?

The idea is for a method to be called at the end of the process of karma So that I can start a process that will treat the output of my coverage     
asked by 19.07.2018 / 21:52
0
answers

How to use Equivalence Class techniques to define test cases from a Use Case?

I'm trying to generate a Test Case for a system, but I've been in doubt about assembling Equivalence Partitioning and Test Cases ... The problem is that in the statement it says the following:    A Transfer of Values Form between One Ac...
asked by 21.06.2018 / 15:08
0
answers

How to test Graphql in the Laravel framework

I'm creating an application in Laravel 5.6 with Graphql, from this library: link I was able to generate everything normally, but I'm having a hard time creating unit tests for application. Any alternative how to test my requests for Grap...
asked by 26.05.2018 / 08:50
1
answer

Integration tests using sqlite memory two api calls

I am having trouble making an insert call (and creating the database) after the query occurs that the database is in memory the problem is that the acada call the database dies. It would be interesting to be able to do the database creation in m...
asked by 19.05.2018 / 23:11
1
answer

Codeception's see () method with Yii2 does not display the entire content of the page

Hello! I'm testing a PHP system (7.2.1) that uses the Yii2 framework, and for that, by default I'm using codeception. When writing functional tests, several methods are not working as expected. Among them is the see () method that should fetc...
asked by 22.05.2018 / 21:33