Questions tagged as 'testes'

1
answer

How useful is the Add Fakes Assembly feature?

Besides utility, how can we implement it? I did not find documentation in Portuguese that would clarify this functionality much less examples of how to apply it.     
asked by 06.01.2017 / 18:36
1
answer

Test concurrent queries on the REST server

I have a REST/WebApi server and wanted to test its performance with concurrent queries. My objective is to test, logically, the performance, and also if it is treating each request separately, that is, each query is handled by a process, thus...
asked by 01.08.2015 / 15:08
2
answers

Do I need to do unit tests of system entities?

I'm working on a project and I join a team, we were given the task of doing a series of tests with a system, testes de integração continua , testes unitários .... The point is that all systems have classes of entities and rules of...
asked by 21.08.2016 / 22:01
2
answers

Test coverage using Sonar

I would like to know if anyone else has already used Sonar to do test coverage analysis, I have the following problem, I have two projects. Project A : This is implemented in my tests, using Selenium + Testng Project B : It i...
asked by 29.07.2014 / 19:59
2
answers

Show the runtime of an Algorithm in milliseconds in python?

So far I've only found questions that show seconds. I'd like to find it in Milliseconds. Here is the code I tried: import time start = time.time() def firstDuplicate(a): dic={} for x in a: if(x in dic): return...
asked by 02.10.2017 / 02:47
1
answer

When to do unit tests in JavaScript?

As far as it is advantageous to do unit tests on the presentation layer, what are the scenarios where Javascript unit testing is advantageous? Is it only advantageous if you have calculations in Javascript? Obs : I'll use Jasmine for test...
asked by 07.12.2017 / 12:50
2
answers

Test without "messing up" (adding data) to the database

I'm having trouble doing integration testing. I test my database functions. My web application does not use any framework database connection and I am not able to do tests without messing up my database. I would like to know how to test wit...
asked by 29.01.2016 / 19:26
1
answer

Registration load test does not persist in the database

I'm using jmeter and performed the following procedure: I have written a script in a user registration feature; I extracted the ViewStates (because it is a feature with pages in web flow); I ran the test; Occurred: When writing the...
asked by 08.08.2014 / 20:11
1
answer

Error accessing dao class by a test class

I have the following error, when accessing a class dao of a test class: java.lang.NullPointerException This is the controller method: @Post("/consultar_lancamento/{codLancamento}") public int consultarLancamento(int codLancamento) {...
asked by 05.07.2016 / 19:36
1
answer

Error running tests with proxy models in Django

I have a Seller table. link class Seller(Employee): objects = SellerManager() class Meta: proxy = True verbose_name = 'vendedor' verbose_name_plural = 'vendedores' def __str__(self): return self.username She is a p...
asked by 29.05.2016 / 18:05